hass-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 Migrate group to use shorthand attributes for name and icon (#115244) 2024-04-08 11:05:56 -10:00
binary_sensor.py Cleanup some circular imports in group (#113554) 2024-03-15 15:45:43 -10:00
config_flow.py Cleanup some circular imports in group (#113554) 2024-03-15 15:45:43 -10:00
const.py Cleanup some circular imports in group (#113554) 2024-03-15 15:45:43 -10:00
cover.py Cleanup some circular imports in group (#113554) 2024-03-15 15:45:43 -10:00
entity.py Refactor group state logic (#116318) 2024-05-02 21:55:46 +02:00
event.py Update import for EventStateChangedData [a-h] (#114899) 2024-04-04 11:48:36 -10:00
fan.py Cleanup some circular imports in group (#113554) 2024-03-15 15:45:43 -10:00
icons.json Add service icons to Group (#113302) 2024-03-14 14:01:30 +01:00
light.py Cleanup some circular imports in group (#113554) 2024-03-15 15:45:43 -10:00
lock.py Cleanup some circular imports in group (#113554) 2024-03-15 15:45:43 -10:00
manifest.json
media_player.py Update import for EventStateChangedData [a-h] (#114899) 2024-04-04 11:48:36 -10:00
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 Add State.last_reported (#113511) 2024-03-20 21:05:07 +01:00
sensor.py Cleanup some circular imports in group (#113554) 2024-03-15 15:45:43 -10:00
services.yaml
strings.json Return group unit of measurement when device_class is None (#110973) 2024-02-25 22:44:05 -05:00
switch.py Cleanup some circular imports in group (#113554) 2024-03-15 15:45:43 -10:00
util.py Enable Ruff B905 (#114197) 2024-04-14 00:14:26 -05:00