Paulus Schoutsen
989dd32258
Hue to retry if hub errors out ( #31616 )
...
* Respect semaphore
* Add retries when connection reset
* Also catch OSError from aiohttp when authenticating
2020-02-08 13:20:37 -08:00
Paulus Schoutsen
0d474e1183
Update the update coordinator API to make it easier to use ( #31471 )
...
* Update the update coordinator API to make it easier to use
* failed_last_update -> last_update_success
2020-02-06 09:29:29 -08:00
Paulus Schoutsen
166d770ddd
Update Hue data fetching ( #31338 )
...
* Refactor Hue Lights to use DataCoordinator
* Redo how Hue updates data
* Address comments
* Inherit from Entity and remove pylint disable
* Add tests for debounce
2020-01-31 14:47:40 -08:00
Paulus Schoutsen
9aa02e35a7
Entity Component to no longer generate automatic groups ( #23789 )
2020-01-07 17:30:53 +01:00
Bas Nijholt
c7cf1b820c
Sort imports according to PEP8 for hue ( #29757 )
2019-12-09 13:25:04 +01:00
Bram Kragten
d91dd68b31
Limit parallel requests to Philips Hue ( #29189 )
...
* Limit parallel requests to Philips Hue
* Fix tests
* Remove loop
* Update homeassistant/components/hue/bridge.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
2019-12-01 13:24:16 -08:00
Bram Kragten
549e8cf2c5
Hue: Create new config flow when auth is lost ( #28204 )
...
* Hue: Create new config flow when auth is lost
* Fix tests
* Fix tests
* Comments
* Lint
2019-10-28 08:45:08 -07:00
Bram Kragten
b75639d9d1
Remove lamps and groups from ha when removed from Hue ( #26881 )
...
* Remove light when removed from hue
* add remove_config_entry_id
* Review + bump aiohue
* lint
* Add tests
2019-09-25 14:00:18 -07:00
Robert Svensson
a2589f56e1
Add system options to config entries ( #25926 )
...
* Add system options to config entries
* For feedback
* Follow most of balloobs comments
* Fix balloobs comments
* Improvements
* Fix second round of Balloobs comments
* Fix third round
* Add system options to mock config entry
* Fix integration tests
* Fix the last failing tests
* Fix disabled string
* Fix failing disabled_by tests
* New tests
* Config entry WS API tests
* Fix comments
2019-08-17 21:34:11 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Markus Jankowski
264e70922b
Fix effects on HUE integration for Osram bulbs ( #22789 )
...
* Fix hue effect for others
* New suggestion
* switched implementation to remove colorloop for osram bulbs
* Check ATTR_EFFECT in kwargs
* Fix tests
2019-05-07 09:53:14 -07:00
starkillerOG
f353d51ab1
Add check to validate gamut ( #20518 )
...
* color.util - Add check to validate gamut
* fix indents
* fix typo
* Add check to validate gamut
* Add tests for gamut checker
* fix test
* fix pylint issues
* fix hue light gamut tests
* add check to validate gamut
* move None check
* Move None check
* Include prompt to update bridge/bulb on error
* fix wrong commit
* fix error message
* Update light.py
2019-01-28 17:52:00 -08:00
starkillerOG
11602c1da0
Improve Philips Hue color conversion 2 ( #20118 )
...
* Add gamut capability to color util
* Include gamut in hue_test
* Improve Philips Hue color conversion
* correct import for new location hue.light
* include file changes between PR's
* update aiohue version
* update aiohue version
* update aiohue version
* fix hue_test
Now Idea why it failed compared to the previous time
* Include gamut in hue_test
* fix hue_test
* Try to test hue gamut conversion
supply a color that is well outside the color gamut of the light, and see if the response is correctly converted to within the reach of the light.
* switch from gamut A to gamut B for the tests.
* remove white space in blanck line
* Fix gamut hue test
* Add Gamut tests for the util.color
* fix hue gamut test
* fix hue gamut test
* Improve Philips Hue color conversion
2019-01-15 11:30:50 -08:00
Paulus Schoutsen
a8f22287ca
Allow embedded platforms ( #19948 )
...
* Allow embedded platforms
* Fix test
2019-01-11 11:30:22 -08:00