Commit Graph

30 Commits (9e53bca45212e3db8c4117f16471c468ea863c9c)

Author SHA1 Message Date
Franck Nijhof 36e59fc322
Cleanups in WLED tests (#88480) 2023-02-20 13:00:02 +01:00
Franck Nijhof 652892e535
Do not swallow WLED errors (#72407) 2022-05-24 16:30:41 +02:00
Franck Nijhof 3aa35e15c2
Remove custom WLED services (#60537) 2021-11-29 15:15:50 +01:00
Franck Nijhof 4cff04cbd5
Remove obsolete light attributes from WLED (#60535) 2021-11-29 11:32:30 +01:00
Franck Nijhof 25f491ad16
Add WLED reverse effect switch (#59778) 2021-11-20 08:57:47 -06:00
Franck Nijhof 01c8114e93
Add WLED playlist support (#53381)
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2021-07-26 11:15:49 +02:00
Franck Nijhof fbe576e93a
Deprecate wled.preset service (#53383) 2021-07-26 11:01:02 +02:00
Franck Nijhof a67ca08124
Change dynamic segment handling of WLED (#52018) 2021-06-23 23:43:24 +02:00
Franck Nijhof 24c1256c2c
Small WLED cleanups (#52014) 2021-06-19 17:13:48 +02:00
Franck Nijhof cfce71d7df
Allow keeping master light in WLED (#51759) 2021-06-12 13:33:23 +02:00
Franck Nijhof b4aeddd12f
Add 100% test coverage to WLED integration (#51743) 2021-06-11 12:45:22 +02:00
Franck Nijhof 7393cba0a5
Mock WLED in all WLED tests (#51724)
* Mock WLED in all WLED tests

* Update tests/components/wled/conftest.py

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

* Remove useless AsyncMock

* Add missing asserts

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-06-11 11:36:54 +02:00
Franck Nijhof 332c86ff8c
Restructure WLED integration (#51667) 2021-06-09 20:15:46 +02:00
Franck Nijhof a6a34c76f7
Add color mode support to WLED (#51648)
* 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
Erik Montnemery b3fecb1c95
Update tests t-z to use async_get() instead of async_get_registry() (#47655) 2021-03-09 14:25:03 +01:00
Franck Nijhof 65cf2fcb6f
Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
Alex Popoutsis 64b1ccd8f6
Add WLED preset service (#42217)
Co-authored-by: djtimca <60706061+djtimca@users.noreply.github.com>
2020-10-25 12:44:26 +01:00
Aidan Timson 52c93edb53
Add Palette to WLED Effect Service (#41724) 2020-10-13 14:12:01 +02:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Franck Nijhof 215c7e0e14
Fix WLED power and brightness with WLED 0.10+ (#36529) 2020-06-07 23:37:58 +02:00
Franck Nijhof 0950ab0dd8
Fix dynamically add/remove WLED strip segments (#36407) 2020-06-03 17:18:50 +02:00
Franck Nijhof d2e6b863b7
Upgrade wled 0.4.1 (#36091) 2020-06-03 02:29:49 +02:00
Paulus Schoutsen ec47216388
Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
Paulus Schoutsen c6ba607c8c
Use IP addresses instead of mDNS names when wled discovered (#33608) 2020-04-03 22:41:08 -07:00
Franck Nijhof 513abcb7e5
Add effect service to WLED integration (#33026)
* 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 (#32565)
* 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 4e62da9c8e Improve WLED pure white support for RGBW (#30477) 2020-01-04 22:52:10 +01:00
Franck Nijhof 4ea0754094 Fix WLED light transition (#30490) 2020-01-04 22:44:28 +01:00
Franck Nijhof 76aaf8b560 Improve WLED white value support for RGBW strips (#29312) 2019-12-02 16:12:18 -08:00
Franck Nijhof 78b83c653a
Add WLED integration (#28542)
* 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