30 Commits
Author SHA1 Message Date
Franck Nijhof ed79265843 Enable Ruff PT006 (#88165)
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet 7d2363ad22 Use light enums in tests (#70801) 2022-04-26 16:32:00 +02:00
J. Nick Koston 73bd8db273 Fix flux_led not generating unique ids when discovery fails (#65250) 2022-01-30 20:17:19 -08:00
J. Nick KostonandChris Talkington 3b6bc6654f Fix unexpected color mode switch in flux_led when brightness is near 0 (#64812)
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2022-01-23 20:53:17 -10:00
J. Nick Koston b273c37d2b Fix flux_led turn on when brightness is zero on newer devices (#64129) 2022-01-14 15:14:02 -08:00
J. Nick Koston 1c6ca908d1 Add support for changing the white strip type to flux_led (#63943) 2022-01-12 15:03:09 -08:00
J. Nick Koston 4b30c9631f Add set_music_mode service to flux_led for detailed music mode control (#62429) 2021-12-21 12:09:41 +01:00
J. Nick Koston abc7dcf6bf Add zones support to flux_led (#61072) 2021-12-20 13:45:34 +01:00
Robert HillisandJ. Nick Koston 1baba2a807 Remove deprecated yaml config from flux_led (#61844)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-19 15:24:04 -06:00
J. Nick KostonandPaulus Schoutsen a6b680cd32 Add support for enabling/disabling cloud access in flux_led (#61138)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-19 00:59:16 -06:00
J. Nick Koston 8d483e2206 Fix flux_led discovery with older models (#61413) 2021-12-10 08:29:27 +01:00
schreyackandJ. Nick Koston 1bcff0907b Fix previous setting briefly appearing on newer flux_led devices when turning on (#60004)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-05 23:56:59 -08:00
J. Nick Koston da2fb17d94 Update flux_led for upstream strict typing (#60800)
- Bump library to 0.25.10

- Changelog: https://github.com/Danielhiversen/flux_led/compare/0.25.2...0.25.10

- This is a squashed version of #60554 since that one keeps failing to restore the python env on 3.9
2021-12-02 10:55:06 +01:00
J. Nick Koston 213be1f15e Update flux_led to use async_set_brightness in the lib (#60315) 2021-11-25 12:41:32 +01:00
J. Nick Koston 5b199bcc6d Use random effect from flux_led library (#60312) 2021-11-25 02:34:19 +01:00
J. Nick Koston 86cd46a0dd Add support for adjusting effect brightness in flux_led (#60247) 2021-11-24 19:55:00 +01:00
J. Nick Koston ce369bb336 Reduce flux_led light turn on complexity (#60139) 2021-11-23 22:23:38 +01:00
J. Nick Koston 4af5cde738 Include model name in flux_led discovery when available (#60105) 2021-11-22 20:21:46 -06:00
J. Nick Koston c323815760 Ensure flux_led bulbs turn on even if brightness is 0 (#59661) 2021-11-13 21:55:23 -08:00
J. Nick Koston 977b3cbe98 Improve support for flux_led pixel/RBM controllers (#59325)
* Fetch flux_led effects from library

- Each model can have different effects

* Improve support for flux_led pixel/RBM controllers

- RBM effects 1-100 are now available

* empty
2021-11-07 19:13:42 -08:00
J. Nick Koston 3732ae738e Fix flux_led with RGB/W bulbs (model 0x44) (#58438) 2021-10-25 21:53:13 -05:00
Brian EggeandJ. Nick Koston 708f2ae089 Fix issue parsing color effect None in flux_led (#57979)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-18 20:36:25 -10:00
J. Nick Koston 76b6fce19c Avoid exposing effects to flux_led lights that do not support them (#57810) 2021-10-15 18:54:00 -10:00
J. Nick Koston abcacd2a00 Use a human readable model name in flux_led (#57519) 2021-10-12 21:40:49 -07:00
J. Nick Koston f41aedc0f9 Fix single channel controllers with flux_led (#57458) 2021-10-12 21:40:18 -07:00
J. Nick Koston 381301d978 Add the switch platform to flux_led (#57444) 2021-10-11 07:20:11 -10:00
J. Nick Koston e148939b78 Convert flux_led to use asyncio (#57440) 2021-10-10 15:12:54 -10:00
icemanchandJ. Nick Koston 3efbd6a1c9 Flux led color support (#57353)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-10 09:18:15 -10:00
J. Nick Koston 7e5dfadc27 Add sw_version and model to flux_led device info (#56958) 2021-10-05 14:53:39 -10:00
a95c6b10f7 Flux led config flow (#56354)
Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-02 07:19:36 -10:00