Commit Graph

646 Commits (1ebcc34e6600b10c614c3797c9701e0b0d66b9aa)

Author SHA1 Message Date
epenet 6bc2d11c5e
Add base Entity class to enforce-class-module pylint plugin (#126026)
* Add base Entity class to enforcé-class-module pylint plugin

* Ignore bluetooth

* Ignore hue

* Ignore dominos

* Ignore ffmpeg

* Ignore mqtt

* Ignore microsoft_face

* Ignore plant

* Ignore point

* Ignore rfxtrx

* Ignore template

* Ignore tag

* Ignore deconz
2024-09-18 20:38:45 +02:00
epenet 457f63cce0
Add platform Entity classes to pylint plugin (#125737)
* Add platform Entity classes to pylint plugin

* Fix violations

* Fix violations

* More

* Allow component package with same name as a platform

* One more
2024-09-16 10:10:53 +02:00
epenet 6ef1dd56f5
Use root import for device_automation (#125836) 2024-09-12 17:01:25 +02:00
Marcel van der Veldt 8f38b7191a
Fix for Hue sending effect None at turn_on command while no effect is active (#125377)
* Fix for Hue sending effect None at turn_on command while no effect is active

* typo

* update tests
2024-09-06 14:06:46 +02:00
Erik Montnemery cffa8b4feb
Update icons.json to new service schema part 2 (#124769) 2024-08-28 13:47:41 +02:00
epenet 831a1d7ad1
Standardize import step variable name (part 1) (#124674) 2024-08-27 10:34:47 +02:00
Ino Dekker 611723e44b
Bump aiohue to version 4.7.3 (#124436) 2024-08-23 13:43:17 +02:00
Marcel van der Veldt 6d4711ce43
Bump aiohue to version 4.7.2 (#122651) 2024-07-29 11:59:13 +02:00
Barry vd. Heuvel d113ea8e47
Convert Hue scenes brightness to 0..255 (#105871)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-07-06 19:04:52 +02:00
Marcel van der Veldt bad5eaf329
Add entity ids to grouped hue light (#113053) 2024-06-21 15:04:42 +02:00
epenet e7ce01e649
Enforce namespace import in components (#118218) 2024-05-27 12:50:11 +02:00
Marc Mueller bc2ee96cae
Remove quotes surrounding annotations (#117817) 2024-05-20 22:06:58 +02:00
Marc Mueller 87bb7ced79
Use PEP 695 for simple type aliases (#117633) 2024-05-17 14:42:21 +02:00
Marcel van der Veldt 5af8041c57
Fix ghost events for Hue remotes (#113047)
* Use report values for events

* adjust tests
2024-05-15 15:48:15 +02:00
Sid 2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
Joost Lekkerkerker 761933acfe
Improve lists in integrations [G-H] (#113168) 2024-03-13 17:25:27 +01:00
Marcel van der Veldt ec89886fac
Fix colormode attribute on grouped Hue light (#113071) 2024-03-11 19:04:44 +01:00
Marcel van der Veldt 0eb1adccf8
Fix for Hue not applying effect in scene (#113057) 2024-03-11 15:08:00 +01:00
Marcel van der Veldt 0a7598e2d4
Fix for controlling Hue switch entities (#113064) 2024-03-11 09:49:52 -04:00
Marcel van der Veldt a7a30581fc
Fix adding Hue bridge manually by IP (#113055) 2024-03-11 12:35:41 +01:00
Marc Mueller 2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Marc Mueller 8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
J. Nick Koston 0382d628a3
Close hue api if setup fails (#112164)
fixes #109722
2024-03-07 23:39:44 -05:00
Erik Montnemery e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
Joost Lekkerkerker cb2c845c04
Add icon translations to Hue (#111725) 2024-02-29 09:22:35 +01:00
Marcel van der Veldt 220e66faad
Bump aiohue to 4.7.1 (#111770)
bump aiohue to 4.7.1
2024-02-28 18:59:44 -05:00
J. Nick Koston 4d39a85553
Avoid creating many tasks when adding hue v2 entities (#110386)
Each entity creation would call async_add_entities which spawned a
seperate task

fixes
```
2024-02-12 18:06:09.819 WARNING (MainThread) [asyncio] Executing <Task pending name='config entry forward setup Philips Hue 2 hue fcb64edfc5ac2edbb656607d5193b583 light' coro=<ConfigEntries.async_forward_entry_setup() running at /usr/src/homeassistant/homeassistant/config_entries.py:1597> wait_for=<Future pending cb=[shield.<locals>._outer_done_callback() at /usr/local/lib/python3.12/asyncio/tasks.py:922, Task.task_wakeup()] created at /usr/local/lib/python3.12/asyncio/base_events.py:447> cb=[gather.<locals>._done_callback() at /usr/local/lib/python3.12/asyncio/tasks.py:767] created at /usr/local/lib/python3.12/asyncio/tasks.py:420> took 1.260 seconds
```
2024-02-13 13:04:29 +01:00
Erik Montnemery 586b4ab93d
Simplify Hue v2 color mode calculation (#109857) 2024-02-07 08:56:35 +01:00
Erik Montnemery b420c65016
Fix hue fallback onoff colormode (#109856)
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2024-02-07 08:14:55 +01:00
Marc Mueller 7a89e58873
Use builtin TimeoutError [e-i] (#109679) 2024-02-05 12:00:37 +01:00
Joost Lekkerkerker a01e73a575
Add translation placeholder to Hue (#108848) 2024-01-28 20:40:21 +01:00
Joost Lekkerkerker ac53b78a0c
Deduplicate constants A-D (#105638) 2023-12-13 14:21:44 +01:00
Jan Bouwhuis 9c9d8669ec
Link second Hue host field description (#104885) 2023-12-04 09:36:41 +01:00
c0ffeeca7 1c78848c43
HLK to Hyperion: add host field description (#104789)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-30 16:38:40 +01:00
starkillerOG 93a8b60c2b
Philips Hue restore brightness after transition (#101293) 2023-10-25 07:46:49 +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
Øyvind Matheson Wergeland 1d7d7c3540
Fix translation keys in Hue (#101403)
hue: fix key string syntax
2023-10-04 18:43:53 +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 6c095a963d
Switch config flows use newer zeroconf methods to check IP Addresses (#100568) 2023-09-20 01:08:58 +02:00
Joost Lekkerkerker 11a90016d0
Change Hue zigbee connectivity sensor into an enum (#98632) 2023-09-19 12:08:13 +02:00
Jan Rieger 74a57e8676
Use more common translations (#100135) 2023-09-12 19:44:31 +02:00
Ville Skyttä e7b6037419
Remove unnnecessary pylint configs from components [e-l]* (#99004) 2023-08-25 09:46:34 +02:00
Marc Mueller 5dd3f05db8
Use asyncio.timeout [f-h] (#98449) 2023-08-15 08:37:06 -05:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04: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 6ed31840bc
Fix color mode attribute for both official and non official Hue lights (#97683) 2023-08-03 21:06:45 +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 94870f05ee
Fix invalid ColorMode on (some) 3rd party Hue Color lights (#97263) 2023-07-26 16:43:02 +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