python-kasa/kasa/smart
Steven B 7888f4904a
Fix light preset module when list contains lighting effects (#1048)
Fixes the residual issues with the light preset module not handling
unexpected `lighting_effect` items in the presets list.

Completes the fixes started with PR
https://github.com/python-kasa/python-kasa/pull/1043 to fix
https://github.com/python-kasa/python-kasa/issues/1040, [HA
#121115](https://github.com/home-assistant/core/issues/121115) and [HA
#121119](https://github.com/home-assistant/core/issues/121119)

With this PR affected devices will no longer have the light preset
functionality disabled. As this is a new feature this does not warrant a
hotfix so will go into the next release.

Updated fixture for testing thanks to @szssamuel, many thanks!
2024-07-04 17:22:47 +02:00
..
modules Fix light preset module when list contains lighting effects (#1048) 2024-07-04 17:22:47 +02:00
__init__.py Move SmartBulb into SmartDevice (#874) 2024-04-29 18:19:44 +01:00
effects.py Fix changing brightness when effect is active (#1019) 2024-07-01 13:59:24 +02:00
smartchilddevice.py Support child devices in all applicable cli commands (#1020) 2024-07-02 15:11:19 +02:00
smartdevice.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
smartmodule.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00