Joost Lekkerkerker
2ef0521d3d
Use is in enum comparison in config flow tests U-Z ( #114677 )
...
* Use right enum expression U-Z
* Fix
2024-04-02 23:09:56 +02:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] ( #112712 )
2024-03-08 14:44:56 +01:00
Joost Lekkerkerker
9ac5bdc832
Use modern naming for WLED ( #100233 )
2023-10-06 20:04:44 +02:00
J. Nick Koston
0eca433004
Update zeroconf discovery to use IPAddress objects to avoid conversions ( #100567 )
2023-09-19 18:58:46 +02:00
Franck Nijhof
36e59fc322
Cleanups in WLED tests ( #88480 )
2023-02-20 13:00:02 +01:00
Franck Nijhof
bcf32f8331
Mark required fields in FlowResult typedict ( #84811 )
...
* Mark required fields in FlowResult typedict
* Remove unneeded asserts from tests
2022-12-30 12:01:45 +01:00
Franck Nijhof
2169b70874
Use FlowResultType enum in WLED tests ( #74594 )
2022-07-07 12:31:54 +02:00
Franck Nijhof
ec119ae718
Automatically onboard WLED ( #73853 )
2022-06-22 22:37:36 +02:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
Franck Nijhof
1c94431efe
Handle WLED devices with CCT channels ( #64581 )
2022-01-21 09:19:50 +01:00
Franck Nijhof
28d49e69c1
Expose WLED configuration URL of discovered device ( #63983 )
...
* Expose WLED configuration URL of discovered device
* Add test
2022-01-12 08:57:15 -08:00
Franck Nijhof
cd9096907b
Simplify WLED config flow, use device name for config entry ( #63377 )
2022-01-04 10:59:14 -08:00
epenet
9f74ad06d6
Update ZeroconfServiceInfo in tests (t-z) ( #60221 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 11:28:50 -06:00
epenet
7e1b00c491
Use ZeroconfServiceInfo in wled ( #60130 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-22 08:19:54 -06:00
Franck Nijhof
cfce71d7df
Allow keeping master light in WLED ( #51759 )
2021-06-12 13:33:23 +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
e293d35ac9
Clean up WLED tests ( #50685 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-15 22:14:56 +02:00
Dermot Duffy
4e4042a869
Fix types for WLED ( #50001 )
2021-05-09 19:34:21 +02:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
SNoof85
68aafd4d23
Use reference strings in Wled ( #40969 )
2020-10-02 12:08:22 +02:00
springstan
6a7caad8dc
Use content type json constant ( #40312 )
2020-09-23 20:21:55 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Franck Nijhof
d2e6b863b7
Upgrade wled 0.4.1 ( #36091 )
2020-06-03 02:29:49 +02: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
4517f0d59a
Handle unique WLED device using zeroconf properties ( #32897 )
2020-03-18 11:10:40 +01:00
Franck Nijhof
51db9bdfce
Add unique ID to WLED config entries ( #30480 )
...
* Add unique ID to WLED config entries
* Improve robustness of the tests
2020-01-04 22:48:31 +01: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