Jan-Philipp Benecke
eda475fe25
Update h* tests to use entity & device registry fixtures ( #103866 )
...
* Update h* tests to use entity & device registry fixtures
* Add missed lines
2023-11-12 13:52:32 -05:00
starkillerOG
93a8b60c2b
Philips Hue restore brightness after transition ( #101293 )
2023-10-25 07:46:49 +02:00
Paul Bottein
c98c18f25e
Return 'None' for light attributes when off instead of removing them ( #101946 )
2023-10-19 01:08:08 +02:00
Marcel van der Veldt
6393171fa4
Adjust Hue integration to use Entity descriptions and translatable entity names ( #101413 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-09 14:14:07 +02:00
Marcel van der Veldt
35616e100d
Discover switch entities from Hue behavior_script instances ( #101262 )
2023-10-02 17:15:41 +02:00
Marcel van der Veldt
b569cb61e9
Adopt Hue integration to latest changes in Hue firmware ( #101001 )
2023-09-27 23:36:12 +02:00
J. Nick Koston
0eca433004
Update zeroconf discovery to use IPAddress objects to avoid conversions ( #100567 )
2023-09-19 18:58:46 +02:00
Erik Montnemery
dd39e8fe64
Use freezegun in hue tests ( #99033 )
2023-08-25 09:04:28 -05:00
Erik Montnemery
49011f0158
Adjust hue tests which create devices ( #98195 )
2023-08-10 18:27:05 +02:00
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma ( #98162 )
2023-08-10 14:27:03 +02:00
Marcel van der Veldt
7ada88eab3
Hue event entity follow up ( #97336 )
2023-07-27 16:58:09 +02:00
Marcel van der Veldt
2ae059d4fc
Add Event platform/entity to Hue integration ( #97256 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-07-26 16:42:01 +02:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Erik Montnemery
5884afd485
Teach sensor device trigger about entity registry ids ( #94988 )
2023-06-22 11:13:54 +02:00
Erik Montnemery
fd822bce56
Replace assert_lists_same with pytest_unordered in integrations h-m ( #94901 )
2023-06-20 20:16:25 +02:00
J. Nick Koston
48485fc2bf
Complete persistent notifications migration ( #92828 )
...
* Complete migration of persistent notifications
Persistent notifications are no longer stored in
the state machine and no longer fire events
* Complete migration of persistent notifications
Persistent notifications are no longer stored in
the state machine and no longer fire events
* fixes
* fixes
* fixes
* ws test
* update tests
* update tests
* fix more tests
* fix more tests
* more fixes
* fix
* fix person
* fix person
* keep whitelist
* use singleton
2023-05-25 23:09:13 -04:00
epenet
5f7496f97b
Fix lingering timer in hue light tests ( #92858 )
2023-05-09 17:07:23 +02:00
Marcel van der Veldt
fceb208381
Abort Hue config flow if bridge can not be reached ( #88893 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-03-15 18:55:34 +01:00
epenet
d65dff3f9e
Adjust entity registry access in tests (2) ( #88960 )
2023-03-01 16:23:36 +01:00
Marcel van der Veldt
36e6a879ad
Bump aiohue library to version 4.6.2 ( #88907 )
...
* Bump aiohue library to 4.6.2
* Fix long press (fixed in aiohue lib)
* fix test
2023-02-28 11:53:15 -05:00
Franck Nijhof
1e05697080
Enable Ruff B007 ( #88356 )
...
* Enable Ruff B007
* Adjust existing cases
2023-02-17 21:08:18 -05:00
epenet
9404a107b2
Add type hints to integration tests (part 10) ( #87985 )
2023-02-13 10:25:26 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
epenet
37a2040d7b
Add type hints to integration tests (h-i) ( #87703 )
2023-02-08 18:12:56 +01:00
epenet
4142f0d15d
Add return type to tests without arguments ( #87613 )
...
* Add return type to tests without arguments
* Black
* Cancel fixture amends
2023-02-07 14:20:06 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Marcel van der Veldt
f8c6e4c20a
Add support for Hue Smart Scenes (Natural Lights) ( #85517 )
...
* Bump aiohue to 4.6.0
* fix device name for lights
* fix name for groups too
* ignore smart scenes
* bump to 4.6.1 instead
* Add support for Smart Scenes (Natural lights) in Hue
* update base entity class
* fix test fixture
* update tests
* fix scene test
* fix typo
* use underlying scene controller
* use enum value
* update tests
* add current scene name within smart scene
* extra attributes are only valid if the scene is active
* Update v2_resources.json
* typo
* fix after merge
2023-01-30 23:32:37 -05:00
Marcel van der Veldt
fe583b7c4a
Remove SSDP discovery from Hue ( #85506 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-16 19:56:46 +01:00
Marcel van der Veldt
c181fb6de0
Bump aiohue library to 4.6.1 ( #85504 )
...
* Bump aiohue to 4.6.0
* fix device name for lights
* fix name for groups too
* ignore smart scenes
* bump to 4.6.1 instead
* fix test fixture
* update tests
* fix scene test
2023-01-09 10:37:03 -05:00
epenet
6b3c91bd6a
Cleanup ColorMode in tests ( #78807 )
2022-09-20 18:33:45 +02:00
epenet
25b1dfb53a
Cleanup EntityCategory in tests ( #78808 )
2022-09-20 10:49:44 -04:00
J. Nick Koston
7cad1571a2
Describe hue events in the logbook ( #72220 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-19 22:21:09 -07:00
Erik Montnemery
573e966d74
Migrate hue v1 light to color_mode ( #69275 )
...
* Migrate hue v1 light to color_mode
* Fix test
* Correct filter_supported_color_modes + add test
* Use ColorMode enum
2022-04-28 09:49:51 +02:00
Paulus Schoutsen
87dceaf238
Hue config flow to guard ipv6 ( #70703 )
...
* Hue config flow to guard ipv6
* Use helper
2022-04-25 10:52:57 -07:00
Erik Montnemery
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ( #70335 )
...
* Mark device triggers from hidden or auxiliary entities as secondary
* Update tests
2022-04-21 08:01:32 +02:00
Marcel van der Veldt
09f6785956
Add virtual device/service for Hue groups ( #68569 )
2022-03-29 20:33:05 -07:00
Marcel van der Veldt
dbef90654f
Add effects feature to Hue lights ( #68567 )
2022-03-23 15:13:01 -07:00
Marcel van der Veldt
ccd8c7d5f8
Hue aggregated control for grouped lights ( #68566 )
2022-03-23 13:06:10 -07:00
Marcel van der Veldt
4fd0ed2474
Bump aiohue to 4.4.0 ( #68556 )
2022-03-23 13:03:14 +01:00
Marcel van der Veldt
dd1d7fdbab
Simplify Hue error handling a bit ( #68529 )
2022-03-22 21:59:06 -07:00
Marcel van der Veldt
cb190a7b17
Add (basic) diagnostics support for Hue integration ( #67074 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-22 15:44:02 -08:00
Marcel van der Veldt
8f4ec89be6
Bump aiohue to version 4.1.2 ( #66609 )
2022-02-15 17:26:13 -08:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
Franck Nijhof
3f7275a9c7
Give scenes last activated state ( #62673 )
2022-01-07 19:02:32 +01:00
Marcel van der Veldt
f999266c9a
Add additional service to set advanced Hue scene options ( #63035 )
2022-01-04 21:39:08 -08:00
Marcel van der Veldt
055fb99938
Hue allow per-device availability override ( #63025 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-30 20:46:52 -08:00
Marcel van der Veldt
497bfc1c8f
Normalize Hue colortemp if value outside of bounds ( #62998 )
2021-12-29 15:13:52 +01:00
Marcel van der Veldt
c5bdf858a8
Fix short flash effect in Hue integration ( #62988 )
2021-12-29 14:21:38 +01:00
Christian Manivong
772428e70f
Round Hue transition to steps of 100ms ( #62619 )
...
* Adding round() to transition before firing turn_on, turn_off #62608
2021-12-23 15:08:24 +01:00
Marcel van der Veldt
eb37668036
Fix Hue button events ( #62669 )
2021-12-23 14:24:37 +01:00