core/homeassistant/components/group
Jan Bouwhuis 41b688645a
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
2024-05-02 21:55:46 +02:00
..
__init__.py
binary_sensor.py
config_flow.py
const.py
cover.py
entity.py Refactor group state logic (#116318) 2024-05-02 21:55:46 +02:00
event.py
fan.py
icons.json
light.py
lock.py
manifest.json
media_player.py
notify.py Remove unnecessary type ignores (#116036) 2024-04-23 17:32:21 +02:00
registry.py Refactor group state logic (#116318) 2024-05-02 21:55:46 +02:00
reproduce_state.py
sensor.py
services.yaml
strings.json
switch.py
util.py Enable Ruff B905 (#114197) 2024-04-14 00:14:26 -05:00