-
-
Notifications
You must be signed in to change notification settings - Fork 28.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor group state logic (#116318)
* Refactor group state logic * Fix * Add helper and tests for groups with entity platforms multiple ON states * Adress comments * Do not store object and avoid linear search * User dataclass, cleanup multiline ternary * Add test cases for grouped groups * Remove dead code * typo in comment * Update metjod and module docstr
- Loading branch information
Showing
3 changed files
with
385 additions
and
16 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
Oops, something went wrong.