Commit Graph

83 Commits (85fdc562400211bbaab07233bd5e9a7c496ddb44)

Author SHA1 Message Date
J. Nick Koston 1e956bc52f
Reduce bond startup time (#73506) 2022-06-14 20:30:59 -10:00
Marcio Granzotto Rodrigues 5854dfa84f
Fix smart by bond detection with v3 firmware (#73414) 2022-06-12 15:27:18 -10:00
J. Nick Koston 3399be2dad
Retry bond setup when zeroconf discovery happens (#72687) 2022-05-30 18:41:07 +02:00
J. Nick Koston a526b2b819
Add support for async_remove_config_entry_device to bond (#72511) 2022-05-26 18:15:56 -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 e9c861f2b2
Add support for cover positions in bond (#72180) 2022-05-20 07:49:26 -07:00
epenet 7d2363ad22
Use light enums in tests (#70801) 2022-04-26 16:32:00 +02:00
Erik Montnemery 66e9b263a8
Migrate bond light to color_mode (#69078) 2022-04-01 22:03:19 -10:00
J. Nick Koston 723dcbafca
Complete fan speed transition from #59781 (#67743) 2022-03-09 10:38:12 +01:00
J. Nick Koston ac031cb817
Add diagnostics support to bond (#67412) 2022-02-28 18:50:15 -10:00
Joshua Roys 9134e5c844
Get discovered zeroconf IPv6 addresses (#65462) 2022-02-11 16:46:17 -06:00
J. Nick Koston 0ca38c0928
Avoid creating bond stop action button when there are no other buttons (#64869) 2022-01-24 23:03:52 +01:00
J. Nick Koston d1d33f0dc5
Fix bond buttons where an argument is required (#64781) 2022-01-24 07:41:23 -10:00
J. Nick Koston 74c16b977d
Add support for preset modes to bond fans (#64786) 2022-01-23 12:33:31 -10:00
J. Nick Koston 15532c38d7
Add button platform to bond to replace custom services (#64725) 2022-01-22 20:52:00 -08:00
Josh Soref 9eb447c16f
spelling: components/bond (#64272)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-01-17 11:58:52 +01:00
J. Nick Koston d7c5e41802
Add hardware version to bond (#62256) 2021-12-18 22:30:44 -08:00
J. Nick Koston 6b70bd7495
Fix uncaught exception in bond config flow (#61184) 2021-12-07 17:20:38 -08:00
J. Nick Koston ef8cf9e597
Add configuration_url to bond (#60523) 2021-11-29 08:44:11 +01:00
Michael fb909eca8a
Fix slow config_flow test in bond (#60355) 2021-11-25 12:32:26 -06:00
epenet 1d3fbc93a0
Update ZeroconfServiceInfo in tests (a-f) (#60212)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:32:58 -06:00
J. Nick Koston 5d2eb8d3ff
Add tilt support to bond covers (#59505) 2021-11-11 19:31:58 -08:00
epenet ab1e14204f
Rename zeroconf service info (#59467)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-10 15:26:47 +01:00
epenet 2b22d635d9
Use zeroconf HaServiceInfo in tests (A-D) (#58836)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-02 12:27:31 -05:00
J. Nick Koston d09ee11c54
Fix bond reloading on zeroconf discovery when host has not changed (#57799) 2021-10-17 19:50:13 +02:00
J. Nick Koston 2adb9a8bec
Refresh the bond token if it has changed and available (#57583) 2021-10-12 21:39:46 -07:00
Paulus Schoutsen a4d9019ffc
Refactor persistent notification to no longer route all data via a service (#57157)
* Convert persistent notification tests to async

* Create/dismiss persistent notifications in exposed functions, not service calls

* Fix notify persistent_notification

* Remove setting up persistent_notification

* Drop more setups

* Empty methods

* Undeprecate sync methods because too big task

* Fix setup clearing notifications

* Fix a bunch of tests

* Fix more tests

* Uno mas

* Test persistent notification events

* Clean up stale comment

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
joshs85 41b25a765c
Changed wording of bond state belief feature from belief to tracked state (#56147)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-12 15:46:43 -10:00
joshs85 011817b122
Add state belief services to bond integration (#54735)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-09 15:32:32 +02:00
J. Nick Koston 35d943ba56
Add services to bond to start and stop increase/decrease brightness (#55006) 2021-08-25 22:07:31 +02:00
Ville Skyttä 19d25cd901
Change config entry state to an enum (#49654)
* Change config entry state to an enum

* Allow but deprecate EntryState str equality comparison

* Test fixes

* Rename to ConfigEntryState

* Remove str comparability backcompat

* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +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
Franck Nijhof bb9da22a84
Clean up superfluous integration setup - part 3 (#48484) 2021-03-29 13:23:44 -10:00
Franck Nijhof ad13a9295e
Merge multiple context managers in tests (#48146) 2021-03-27 09:17:15 +01:00
Marc Mueller 54d1e9985f
Update typing 15 (#48079) 2021-03-18 15:13:22 +01:00
Erik Montnemery 78b21b1ad1
Update tests a-b to use async_get() instead of async_get_registry() (#47651) 2021-03-09 14:24:34 +01:00
J. Nick Koston 573c40cb11
Ensure bond devices recover when wifi disconnects and reconnects (#47591) 2021-03-08 10:44:28 -08:00
Ville Skyttä dc880118a4
Lint suppression cleanups (#47248)
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
J. Nick Koston d68a51ddce
Avoid having to ask for the bond token when possible during config (#46845) 2021-02-23 13:42:56 -08: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 6563c37ab1
Add support for generic lights to bond (#46193) 2021-02-09 00:39:21 +01:00
J. Nick Koston 93fafedf72
Cleanup bond identifiers and device info (#46192) 2021-02-09 00:37:32 +01:00
J. Nick Koston 85e463d507
Update bond to use new fan entity model (#45534) 2021-01-28 10:23:12 +01:00
Ville Skyttä 2fb3be50ab
Make DeviceRegistry.async_get_device connections arg optional (#44897)
* Make async_get_device connections Optional, default None

* Remove unnecessary async_get_device connections arg usages

Some of these were using an incorrect collection type, which didn't
cause issues mostly just due to luck.
2021-01-07 13:49:45 +01:00
Franck Nijhof 65cf2fcb6f
Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
Paulus Schoutsen 1c36bf5e19
Fix block till done in create entry config flow tests (#42290) 2020-10-24 16:20:56 +02:00
Paulus Schoutsen 5dac3883b0
Stub light profiles (#42232) 2020-10-23 16:28:21 +02:00
Eugene Prystupa 6366872119
Add support for Bond fireplaces with integrated lights (#41255) 2020-10-18 14:11:24 -05:00