Commit graph

44 commits

Author SHA1 Message Date
Paulus Schoutsen
9cace8e4bd
Fix some entity naming () 2023-06-29 13:11:17 -04:00
Franck Nijhof
a8f1cc0d33
Remove unneeded guards from (async_)add_entities call () 2022-10-17 21:11:58 +02:00
Marc Mueller
c438c26df3
Improve WLED typing () 2022-08-26 10:25:33 +02:00
Franck Nijhof
f15d3fc5db
Migrate WLED to new entity naming style () 2022-07-10 14:56:48 -07:00
epenet
da2312765c
Use ColorMode enum in wled () 2022-04-23 10:09:46 -10:00
Franck Nijhof
614076cdf1
Migrate WLED to use EntityFeature enums () 2022-04-04 14:28:19 +03:00
Marc Mueller
bcb93d95bb
Update typing (4) [u-z] () 2022-01-11 21:26:45 +01:00
Franck Nijhof
3aa35e15c2
Remove custom WLED services () 2021-11-29 15:15:50 +01:00
Franck Nijhof
4cff04cbd5
Remove obsolete light attributes from WLED () 2021-11-29 11:32:30 +01:00
Franck Nijhof
01c8114e93
Add WLED playlist support ()
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2021-07-26 11:15:49 +02:00
Franck Nijhof
fbe576e93a
Deprecate wled.preset service () 2021-07-26 11:01:02 +02:00
Franck Nijhof
0d38ee7378
Upgrade wled to 0.8.0 () 2021-07-23 14:03:46 +02:00
Franck Nijhof
b939570c9c
Simplify WLED segment tracking ()
* Simplify WLED segment tracking

* Fix master controls
2021-06-25 10:57:12 +02:00
Franck Nijhof
f9d65b9196
Add preset support to WLED () 2021-06-24 23:16:07 +02:00
Franck Nijhof
a67ca08124
Change dynamic segment handling of WLED () 2021-06-23 23:43:24 +02:00
Franck Nijhof
23719bbb5e
Upgrade wled to 0.7.0 () 2021-06-21 09:44:29 +02:00
Franck Nijhof
24c1256c2c
Small WLED cleanups () 2021-06-19 17:13:48 +02:00
Franck Nijhof
cfce71d7df
Allow keeping master light in WLED () 2021-06-12 13:33:23 +02:00
Franck Nijhof
332c86ff8c
Restructure WLED integration () 2021-06-09 20:15:46 +02:00
Franck Nijhof
a6a34c76f7
Add color mode support to WLED ()
* Add color mode support to WLED

* Update homeassistant/components/wled/light.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/wled/light.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/wled/light.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/wled/light.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* black

* property, property

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-06-09 13:31:31 +02:00
Franck Nijhof
d0fa4e1d48
Upgrade wled to 0.5.0 () 2021-06-08 13:38:20 -07:00
Franck Nijhof
bf13af34b4
Use entity class vars in WLED () 2021-05-26 14:08:09 +02:00
Michael
9eecd90afc
Add constructor return type in integrations T-Z () 2021-05-20 17:00:19 +02:00
Dermot Duffy
4e4042a869
Fix types for WLED () 2021-05-09 19:34:21 +02:00
Franck Nijhof
efb1bb08a4
Add small async_get_current_platform helper method () 2021-05-03 16:46:42 +02:00
Ruslan Sayfutdinov
cbaeec2a4e
Use AddEntitiesCallback type, pt.2 () 2021-04-30 20:38:59 +02:00
jan iversen
9879b7becf
Rename HomeAssistantType to HomeAssistant, integrations w* - z* ()
* Integration zha: HomeAssistantType -> HomeAssistant.

* Integration zerproc: HomeAssistantType -> HomeAssistant.

* Integration xbox: HomeAssistantType -> HomeAssistant.

* Integration wunderground: HomeAssistantType -> HomeAssistant.

* Integration wled: HomeAssistantType -> HomeAssistant.

* Integration water_heater: HomeAssistantType -> HomeAssistant.

* Integration websocket_api: HomeAssistantType -> HomeAssistant.

* Integration wilight: HomeAssistantType -> HomeAssistant.
2021-04-22 11:04:28 -04:00
Franck Nijhof
cebcd7a202
Fix entity service calls on WLED master light () 2021-03-27 13:04:30 +01:00
Marc Mueller
dcca29ef68
Update typing 14 () 2021-03-18 15:08:35 +01:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() () 2021-03-11 20:16:26 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ()
* Mark entities as unavailable when they are removed but are still registered

* Add sync_entity_lifecycle to collection helper

* Remove debug print

* Lint

* Fix tests

* Fix tests

* Update zha

* Update zone

* Fix tests

* Update hyperion

* Update rfxtrx

* Fix tests

* Pass force_remove=True from integrations

Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
Alex Popoutsis
64b1ccd8f6
Add WLED preset service ()
Co-authored-by: djtimca <60706061+djtimca@users.noreply.github.com>
2020-10-25 12:44:26 +01:00
Philip Allgaier
dde6305549
Cleanup unused loggers (components N-Z + tests) () 2020-10-16 21:24:08 -05:00
Aidan Timson
52c93edb53
Add Palette to WLED Effect Service () 2020-10-13 14:12:01 +02:00
Franck Nijhof
215c7e0e14
Fix WLED power and brightness with WLED 0.10+ () 2020-06-07 23:37:58 +02:00
Franck Nijhof
0950ab0dd8
Fix dynamically add/remove WLED strip segments () 2020-06-03 17:18:50 +02:00
Erik Montnemery
e4333a7a44
Rename Light to LightEntity () 2020-04-26 18:49:41 +02:00
Franck Nijhof
513abcb7e5
Add effect service to WLED integration ()
* Add effect service to WLED integration

* Inline service schema
2020-03-23 13:21:35 -07:00
Franck Nijhof
992daa4a44
Migrate WLED to use DataUpdateCoordinator ()
* Migrate WLED to use DataUpdateCoordinator

* Remove stale debug statement

* Process review suggestions

* Improve tests

* Improve tests
2020-03-13 13:19:05 +01:00
Franck Nijhof
d659807b6f Fix WLED transition time unit () 2020-01-08 21:03:36 +01:00
Franck Nijhof
4e62da9c8e Improve WLED pure white support for RGBW () 2020-01-04 22:52:10 +01:00
Franck Nijhof
4ea0754094 Fix WLED light transition () 2020-01-04 22:44:28 +01:00
Franck Nijhof
76aaf8b560 Improve WLED white value support for RGBW strips () 2019-12-02 16:12:18 -08:00
Franck Nijhof
78b83c653a
Add WLED integration ()
* Add WLED integration

* Use f-string for uniq id in sensor platform

* Typing improvements

* Removes sensor & light platform

* Remove PARALLEL_UPDATES from integration level

* Correct type in code comment 'themselves'

* Use async_track_time_interval in async context

* Remove stale code

* Remove decorator from Flow handler

* Remove unused __init__ from config flow

* Move show form methods to sync

* Only wrap lines that can raise in try except block

* Remove domain and platform from uniq id

* Wrap light state in bool object in is_on method

* Use async_schedule_update_ha_state in async context

* Return empty dict in device state attributes instead of None

* Remove unneeded setdefault call in setup entry

* Cancel update timer on entry unload

* Restructure config flow code

* Adjust tests for new uniq id

* Correct typo AdGuard Home -> WLED in config flow file comment

* Convert internal package imports to be relative

* Reformat JSON files with Prettier

* Improve tests based on review comments

* Add test for zeroconf when no data is provided

* Cleanup and extended tests
2019-11-06 23:55:39 +01:00