python-kasa/kasa/tests/smart
Teemu R b31a2ede7f
Fix changing brightness when effect is active (#1019)
This PR changes the behavior of `brightness` module if an effect is
active.
Currently, changing the brightness disables the effect when the
brightness is changed, this fixes that.
This will also improve the `set_effect` interface to use the current
brightness when an effect is activated.

* light_strip_effect: passing `bAdjusted` with the changed properties
changes the brightness.
* light_effect: the brightness is stored only in the rule, so we modify
it when adjusting the brightness. This is also done during the initial
effect activation.

---------

Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
2024-07-01 13:59:24 +02:00
..
features Do not expose child modules on parent devices (#964) 2024-06-10 05:59:37 +01:00
modules Fix changing brightness when effect is active (#1019) 2024-07-01 13:59:24 +02:00
__init__.py Add T315 fixture, tests for humidity&temperature modules (#802) 2024-03-06 18:04:09 +00:00