Commit Graph

64 Commits (f0eb0849088aa843d3ab8b479f2a734eeb3d6414)

Author SHA1 Message Date
epenet 42b74e7f56
Adjust entity registry access in integrations (3) (#88948) 2023-03-01 08:24:56 +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
Marcel van der Veldt e74613f8be
Fix removal of non device-bound resources in Hue (#88897)
Fix removal of non device-bound resources (like entertainment areas)
2023-02-28 11:04:10 -05:00
Franck Nijhof d3ed8de232
Update Ruff to v0.0.247 (#88210)
* Update Ruff to v0.0.247

* Fix new found violations
2023-02-15 16:46:03 -05: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 810367b757
Fix `can not` typo (#87254) 2023-02-03 11:37:16 +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
Franck Nijhof 8f74bff354
Enable Ruff PLC0414 (#86799) 2023-01-27 16:32:04 +01:00
Marc Mueller 40be2324cc
Update Union typing (5) [Py310] (#86428) 2023-01-23 09:06:26 +01:00
epenet 65750fec9b
Remove invalid state class in hue (#85617) 2023-01-10 16:37:35 +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
Franck Nijhof cb13418bab
String formatting and max line length - Part 2 (#84393) 2022-12-22 11:38:59 +01:00
Marcel van der Veldt 10e796e9d5
Fix issues with Color temperature conversions in Hue (#83982) 2022-12-21 23:28:41 +01:00
epenet 9580c4f1ec
Use UnitOfTemperature in integrations (e-h) (#84305) 2022-12-20 18:29:16 +01:00
Franck Nijhof 10db0d8bb1
Remove invalid device class from Hue connectivity sensor (#83388) 2022-12-06 11:28:14 +01:00
Marc Mueller d8916c3e47
Use TriggerActionType [a-k] (#76812) 2022-08-15 20:26:49 +02:00
Marcel van der Veldt 223ea03492
Fix Hue events for relative_rotary devices (such as Hue Tap Dial) (#76758)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-08-15 13:32:44 -04:00
epenet ee5f1b1577
Adjust device_automation type hints in hue (#72144) 2022-05-23 14:59:12 +02:00
epenet f4b252a51d
Cleanup hue async methods which are not awaiting (#72097) 2022-05-18 09:43:43 -07:00
epenet d907eb2810
Use LightEntityFeature enum in hue (#70987) 2022-04-28 21:32:39 +03:00
epenet 965665213f
Use ColorMode enum in hue (#70578) 2022-04-24 09:29:51 -10:00
Marcel van der Veldt 538c8160f3
Adjust check for orphaned Hue device entries for grouped lights (#69110)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-04-02 09:44:05 +02:00
Marcel van der Veldt ee4eebea7d
Allow lowercase none for effect value in Hue lights (#69111) 2022-04-02 09:14:56 +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 dd1d7fdbab
Simplify Hue error handling a bit (#68529) 2022-03-22 21:59:06 -07:00
Marcel van der Veldt 7381c2114f
Remove color temperature workaround in Hue integration (#68531) 2022-03-22 21:57:04 -07:00
Marcel van der Veldt 8187541d41
Hue integration: update errors that should be supressed (#68337) 2022-03-19 13:27:04 -07:00
Marc Mueller d7170f43c3
Add type ignore error codes [A-L] (#66778) 2022-02-18 09:38:15 +01:00
Marcel van der Veldt 8f4ec89be6
Bump aiohue to version 4.1.2 (#66609) 2022-02-15 17:26:13 -08:00
Marcel van der Veldt ab0d512a5f
Add guard in Hue availability check (#64062) 2022-01-13 09:18:34 -08: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 829ff9c423
Fix Hue grouped light color_mode calculation (#63374) 2022-01-04 17:15:19 +01: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 1547a046db
Fix reporting correct colormode for 3rd party Hue lights (#63015) 2021-12-29 18:26:52 +01:00
Marcel van der Veldt f28c66ce19
Fix Hue motion sensor state if sensor is disabled (#63000) 2021-12-29 17:54:53 +01: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
Marcel van der Veldt c7f465ff3b
Remove duplicate filter for Hue button events (#62974) 2021-12-28 22:21:23 -08:00
Marcel van der Veldt bc7e51b992
Send commands to Hue grouped lights all at once (#62973) 2021-12-28 22:20:20 -08:00
flfue a3e526d6cf
Add return for certified devices to not apply availability check (#62728) 2021-12-26 23:31:51 -08:00
Marcel van der Veldt c79f13429c
Fix Hue docstring (#62684) 2021-12-23 16:41:22 +01:00
Marcel van der Veldt 430cc6194b
Never use availability workaround for certified Hue devices (#62676) 2021-12-23 15:35:57 +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
Marcel van der Veldt 92454e3ac8
Change Hue availability blacklist logic a bit (#62446) 2021-12-20 16:09:14 -08:00
Marcel van der Veldt 01c8e5f49d
Fix turn_off with transition for grouped Hue lights (#61728)
* fix turn_off with transition for grouped hue lights

* add test
2021-12-14 11:24:37 -08:00
epenet 36da11e924
Use new enums in hue (#61772)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-14 13:08:49 +01:00
Marcel van der Veldt 438d19f72b
Fix Flash effect for Hue lights (#61733) 2021-12-13 16:27:58 -08:00