Commit Graph

17 Commits (dae8c0fc3824fa9cb3275ad3d7ef1359cbd1802b)

Author SHA1 Message Date
Erik Montnemery 346674a1a8
Use freezegun in wled tests (#99048) 2023-08-25 08:59:30 -05:00
Franck Nijhof 216864d8f0
Refactor WLED switch tests (#89197) 2023-03-05 19:46:53 -05:00
Franck Nijhof 36e59fc322
Cleanups in WLED tests (#88480) 2023-02-20 13:00:02 +01: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
Franck Nijhof 652892e535
Do not swallow WLED errors (#72407) 2022-05-24 16:30:41 +02:00
Robert Hillis 78f2866f98
Finish using enums in wled (#62189) 2021-12-18 16:17:55 +01:00
Franck Nijhof 25f491ad16
Add WLED reverse effect switch (#59778) 2021-11-20 08:57:47 -06:00
Paulus Schoutsen 3c11e2a097
Add entity category to WLED (#57693) 2021-10-14 13:31:01 -07: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
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
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 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 b2071b81c1
Add switch platform to WLED integration (#28606)
* Add switch platform to WLED integration

* Use async_schedule_update_ha_state in async context

* Process review comments
2019-11-08 09:48:46 +01:00