-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for EFFECT_NONE * off not None * review comment * Adjust typing for `effect` in `restore_external_state_attributes` * Fix effect behavior in `_assume_group_state` * Fix effect behavior in `restore_external_state_attributes` * Adjust `None` state restoration tests for new effect behavior * Move out `self._effect_list` into `effect_list` * Only add `EFFECT_OFF` if there are other effects * Revert "Only add `EFFECT_OFF` if there are other effects" This reverts commit aa870ef. * Always set effect on members Changing any other attributes always turns off the effect at the moment, so we need to pass that to the members. * Fix group light test expecting `None` `effect_list` --------- Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
- Loading branch information
1 parent
c48278b
commit ff8c635
Showing
4 changed files
with
17 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters