Commit Graph

31 Commits (108bcabf75cf9e68b76de70f281842be760d6928)

Author SHA1 Message Date
J. Nick Koston 59872f1914
Reduce bond fallback polling interval when BPUP is alive (#90871)
* Reduce bond fallback polling interval when BPUP is alive

If push updates are alive we should not check every
10 seconds.

* tweak

* tweak

* coverage

* coverage

* coverage
2023-04-08 23:12:42 -04:00
epenet c01b1eb013
Adjust async_track_time_interval name argument (#90838)
Adjust async_track_time_interval naming
2023-04-05 10:58:02 -04:00
J. Nick Koston 02ef7d445d
Allow passing an optional name to async_track_time_interval (#90244)
* Allow passing an optional name to async_track_time_interval

This is the same idea as passing a name to asyncio.create_task which
makes it easier to track down bugs

* more

* short

* still cannot find it

* add a few more

* test
2023-03-25 10:11:14 -04:00
J. Nick Koston 5bdaad9c13
Reduce number of asyncio tasks created by bond (#84668) 2022-12-28 18:14:38 +01:00
J. Nick Koston 1e956bc52f
Reduce bond startup time (#73506) 2022-06-14 20:30:59 -10:00
Marcio Granzotto Rodrigues c1f62d03a0
Fix bond device state with v3 firmwares (#72516) 2022-05-25 18:12:43 -10:00
J. Nick Koston 15532c38d7
Add button platform to bond to replace custom services (#64725) 2022-01-22 20:52:00 -08:00
J. Nick Koston d7c5e41802
Add hardware version to bond (#62256) 2021-12-18 22:30:44 -08:00
J. Nick Koston ef8cf9e597
Add configuration_url to bond (#60523) 2021-11-29 08:44:11 +01:00
epenet 9ae7f0ecd7
Add new attribute constants for DeviceInfo registration (#58289)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-23 21:01:34 +02:00
epenet 51a10f88de
Use DeviceInfo on components with via_device (#58222)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-22 17:04:25 +02:00
Robert Hillis 4fceac00b1
Use entity class attributes for Bond (#53055) 2021-07-16 11:06:18 -10:00
Shay Levy cf228e3fe5
Add constructor return type in integrations A-D (#50903) 2021-05-20 18:51:39 +03:00
Ville Skyttä 59f32f7c9c
Make device info a TypedDict (#49670) 2021-04-30 23:21:39 +02:00
J. Nick Koston 6e911ba19f
Shutdown bond bpup and skip polling after the stop event (#49326) 2021-04-18 13:46:46 -07:00
Marc Mueller 76199c0eb2
Update typing 04 (#48037) 2021-03-17 23:34:25 +01:00
Franck Nijhof 5d5a110a20
None optional hass typing in base entity and notify (#47528) 2021-03-15 15:11:41 +01:00
J. Nick Koston 573c40cb11
Ensure bond devices recover when wifi disconnects and reconnects (#47591) 2021-03-08 10:44:28 -08:00
J. Nick Koston 5784e14d0c
Enforce typing in bond (#47187)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-01 03:16:30 +01:00
J. Nick Koston adf480025d
Add support for bond up and down lights (#46233) 2021-02-20 08:03:40 -10:00
J. Nick Koston 5b0b01d727
Implement suggested areas in bond (#45942)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-19 21:06:43 -10:00
J. Nick Koston 6a62ebb6a4
Add BPUP (push updates) support to bond (#45550) 2021-02-09 09:43:38 +01:00
J. Nick Koston 93fafedf72
Cleanup bond identifiers and device info (#46192) 2021-02-09 00:37:32 +01:00
Eugene Prystupa 6366872119
Add support for Bond fireplaces with integrated lights (#41255) 2020-10-18 14:11:24 -05:00
Eugene Prystupa 542c6cce25
Ensure bond unique ids are unique across hubs (#38496) 2020-08-02 16:50:03 -10:00
Eugene Prystupa c29f412a70
Add debug logging for bond (#38304) 2020-07-27 21:53:56 -05:00
Marcio Granzotto Rodrigues 02e2c40c48
Bond - Make assumed state conditional (#38209) 2020-07-27 20:39:23 -05:00
Eugene Prystupa 69203b5373
Gracefully handle bond API errors and timeouts through available state (#38137)
* Gracefully handle API errors and timeouts through available state

* Gracefully handle API errors and timeouts through available state
2020-07-24 15:14:47 -05:00
Eugene Prystupa a756d1e637
Centralize bond update state logic (#38093)
* Refactor bond integration to centralize update state logic in single superclass

* Refactor bond integration to centralize update state logic in single superclass
2020-07-23 04:15:27 +02:00
Eugene Prystupa c6ab2c5d0a
Add Bond hub as a device for bond entities (#37772)
* Introduce Bond Hub concept

* Read Hub version information when setting up entry

* Link entities to Hub using via_device

* Add test to verify created Hub device properties
2020-07-12 11:31:53 -05:00
Eugene Prystupa 1e9bc278e0
Refactor Bond integration to remove duplication (#37740)
* Refactor Bond integration to remove duplication in Entity code and unit tests

* Refactor Bond integration to remove duplication in Entity code and unit tests (PR feedback)
2020-07-10 20:20:50 -05:00