Commit Graph

95 Commits (3abf7ea18a67852c9d4ce629f266100de2e1d27b)

Author SHA1 Message Date
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
Franck Nijhof 70990ebf81
Add WLED Live Override controls (#59783) 2021-11-20 09:15:47 -06:00
Franck Nijhof 25f491ad16
Add WLED reverse effect switch (#59778) 2021-11-20 08:57:47 -06:00
Franck Nijhof 9faf3996db
Add WLED firmware upgrade button (#59793) 2021-11-16 19:58:04 +01:00
Franck Nijhof 61e4ebf155
Add button entity platform (restart button) to WLED (#59086)
Co-authored-by: Tom Brien <TomBrien@users.noreply.github.com>
2021-11-10 22:22:52 -08:00
Paulus Schoutsen 31153ac155
Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00
Franck Nijhof f3d5768fb4
Move WLED sensors to entity descriptions (#58839)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-11-01 08:54:05 +01:00
Franck Nijhof 6f14f954f9
Move WLED palette to config entity category (#58517) 2021-10-27 13:16:07 +02:00
Teemu R 2f346a8048
Add speed & intensity controls to wled (#56862)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-10-26 00:04:19 -07:00
Franck Nijhof e077fb13ce
Add device configuration URL to WLED (#57692) 2021-10-14 15:46:26 -07:00
Paulus Schoutsen 3c11e2a097
Add entity category to WLED (#57693) 2021-10-14 13:31:01 -07:00
Paulus Schoutsen a4d9019ffc
Refactor persistent notification to no longer route all data via a service (#57157)
* Convert persistent notification tests to async

* Create/dismiss persistent notifications in exposed functions, not service calls

* Fix notify persistent_notification

* Remove setting up persistent_notification

* Drop more setups

* Empty methods

* Undeprecate sync methods because too big task

* Fix setup clearing notifications

* Fix a bunch of tests

* Fix more tests

* Uno mas

* Test persistent notification events

* Clean up stale comment

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
Jan Bouwhuis 8299d0a7c3
Validate Select option before calling entity method (#52352)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-04 11:12:42 +02: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
Marc Mueller c578541a82
Add new electrical unit constants (mV + mA) (#53158) 2021-07-20 15:57:11 +02:00
Franck Nijhof f9d65b9196
Add preset support to WLED (#52170) 2021-06-24 23:16:07 +02:00
Franck Nijhof fba7118d44
Add Color Palette Select entities to WLED (#51994)
* Add Color Palette Select entities to WLED

* Update with dev changes, disable by default
2021-06-24 11:25:21 -07:00