Commit graph

25 commits

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
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
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
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
Paulus Schoutsen
1e78314638
Use async with timeout (#85281) 2023-01-05 20:43:56 -10:00
epenet
9580c4f1ec
Use UnitOfTemperature in integrations (e-h) (#84305) 2022-12-20 18:29:16 +01:00
epenet
7f1e1ed1d8
Enforce LightEntityFeature (#82460) 2022-11-22 07:14:47 +01:00
Marc Mueller
a63c9e8fb9
Update python-typing-update to 0.5.0 (#80315) 2022-10-14 13:21:37 +02:00
Marc Mueller
d8916c3e47
Use TriggerActionType [a-k] (#76812) 2022-08-15 20:26:49 +02:00
Abadede
72cb320ed7
Fix Hue SONOFF S31 Lite zb plug (#69589)
* Update light.py

Same issue as https://github.com/home-assistant/core/issues/46619 with SONOFF S13 Lite Zigbee plug.

* Update light.py
2022-05-25 10:33:05 +02: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
ca785266b4
Cleanup deprecated async_get_registry in hue (#72068) 2022-05-18 13:42:49 +02:00
Franck Nijhof
c3d19f3827
Clean up accessing device_registry helpers via hass (#72031) 2022-05-17 12:22:15 -07:00
epenet
d907eb2810
Use LightEntityFeature enum in hue (#70987) 2022-04-28 21:32:39 +03: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
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
4563d95d40
Replace deprecated DEVICE_CLASS constants with new enums in Hue integration (#61149) 2021-12-07 11:41:43 +01:00
Marcel van der Veldt
e1e6925097
Refactor of Hue integration with full V2 support (#58996)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-11-16 11:59:17 -08:00