Commit Graph

112 Commits (0257cd8bbed5ddc33d3f795ac70b580c8d70684e)

Author SHA1 Message Date
Erik Montnemery 1621310ba7
Add serial_number to device registry entries (#102334)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-22 15:14:44 +02:00
J. Nick Koston 433c022687
Save previous unique id in entity registry when it changes (#102093) 2023-10-16 21:26:19 -10: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
Joost Lekkerkerker 9672cdf3a9
Add entity translations to WLED (#99056) 2023-09-12 20:19:45 +02:00
Erik Montnemery 346674a1a8
Use freezegun in wled tests (#99048) 2023-08-25 08:59:30 -05:00
Alexey Baturin 89355e0879
Add WLED IP as a sensor (#90241)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-26 20:03:03 +02:00
Franck Nijhof 6db8867b81
Update wled to 0.16.0 (#90120) 2023-03-22 13:55:50 -04:00
Franck Nijhof f98d685154
Refactor WLED select tests (#89219) 2023-03-21 22:32:41 +01:00
Franck Nijhof ff485d4648
Refactor WLED number tests (#88582) 2023-03-05 19:49:01 -05:00
Franck Nijhof 216864d8f0
Refactor WLED switch tests (#89197) 2023-03-05 19:46:53 -05:00
Franck Nijhof 5e2b7c6377
Refactor WLED diagnostic tests (#88581) 2023-03-04 15:09:47 +01:00
Franck Nijhof bab758c951
Refactor WLED button tests (#88580) 2023-03-04 11:45:53 +01:00
Franck Nijhof 19c08bfdd5
Refactor WLED binary sensor test (#88579) 2023-03-01 23:44:12 +01:00
Franck Nijhof 36e59fc322
Cleanups in WLED tests (#88480) 2023-02-20 13:00:02 +01:00
epenet 5b80b1f55a
Add type hints to integration tests (part 25) (#88308) 2023-02-17 16:52:28 +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
epenet a79be493e5
Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Franck Nijhof e50a531cd9
Code styling tweaks to the tests - Part 2 (#86662)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2023-01-26 01:23:53 +01:00
Michael 9828b2d13f
Replace the usage of unit constants by enumerations in Tests [v-z] (#85938)
replace unit conts by enums v-z
2023-01-15 20:14:02 +02:00
Franck Nijhof 36f16b0ff2
Code styling tweaks to the WLED integration (#85466) 2023-01-09 01:03:05 +02: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
epenet 7bc2712142
Adjust root-import in tests (#78761)
* Adjust root-import in tests

* Adjust diagnostics

* Adjust button

* Adjust select

* Adjust device_tracker

* Adjust camera

* Adjust humidifier

* Adjust media_source

* Adjust update

* Adjust siren

* Adjust number

* Adjust alarm_control_panel

* Adjust notify

* Adjust sensor

* Adjust switch

* Revert anthemav

* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
Franck Nijhof fef1b842ce
Update wled to 0.14.1 (#75174) 2022-07-14 13:04:46 -07: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
Franck Nijhof 652892e535
Do not swallow WLED errors (#72407) 2022-05-24 16:30:41 +02:00
Franck Nijhof e6d7170fd8
Remove deprecated WLED update button (#71775) 2022-05-13 11:18:16 +03:00
Franck Nijhof b644e7ed0f
Set brand icon as entity picture on update entities (#69200)
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
2022-04-03 20:38:05 +02:00
Franck Nijhof 1a04dc4fca
Set brand icon on WLED update entity (#69145) 2022-04-02 22:28:08 +03:00
Franck Nijhof c31e788439
Rename current_version to installed_version in Update platform (#69093) 2022-04-01 20:11:17 +02:00
epenet 053c4428a9
Prettify json (component test fixtures) (#68892) 2022-03-30 11:37:17 +02:00
Franck Nijhof 40d4495ed0
Add update platform to WLED (#68454)
* Add update platform to WLED

* Copy pasta fixes

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/wled/test_update.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fix tests

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-21 15:38:29 +01:00
Franck Nijhof 6aacaa744e
Only create WLED current sensors when available (#68116) 2022-03-14 11:49:16 +01:00
Franck Nijhof dfdf5f2583
Add fixture for enabling disabled entities in WLED tests (#68087) 2022-03-14 09:50:55 +01:00
Joshua Roys 9134e5c844
Get discovered zeroconf IPv6 addresses (#65462) 2022-02-11 16:46:17 -06:00
Franck Nijhof 441e81c02a
Add diagnostics support to WLED (#65317) 2022-01-31 09:16:33 -08: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
Marc Mueller d057850971
Update typing - collections.abc (3) (#63947) 2022-01-12 08:04:17 +01:00
Franck Nijhof cd9096907b
Simplify WLED config flow, use device name for config entry (#63377) 2022-01-04 10:59:14 -08:00
Robert Hillis 78f2866f98
Finish using enums in wled (#62189) 2021-12-18 16:17:55 +01:00
Ville Skyttä 5bf67cac66
Use RegistryEntryDisabler (#60436) 2021-12-15 23:25:40 +02:00
Franck Nijhof 74f7f28f1c
Use device class enums in WLED (#60684) 2021-12-01 10:16:44 +01:00
Franck Nijhof 1b8eba0afd
Add button device classes to WLED (#60613) 2021-11-30 12:12:08 +01: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
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 d95c615f86
Add binary sensor platform to WLED (#59798) 2021-11-22 13:22:43 +01:00