* Alarm state from enum
* Fixes
* Set final
* Fix rebase
* Test const
* Fix breaking version
* Fix other for alarm_control_panel
* Fix integrations
* More
* More
* More
* More
* Fix zha
* Replace _attr_state
* Fix alarm_control_panel
* Fix tests
* Fixes
* Mods
* Change some
* More
* More
* More
* Tests
* Last tests
* Return enum
* Fix zha
* Remove not needed check
* Fix wording
* Fix homekit
* Mod prometheus
* Fix mypy
* Fix homekit
* Fix ifttt
* Fix late group platform registration
* use a callback instead
* Run thread safe
* Not working domain filter
* Also update if a group has nested group's
* Only update if the siingle state type key could change
* Avoid redundant regisister hooks
* Use set, add comment
* Revert changes
* Keep callback cleanup const
* Cleanup after dependencies
* Preimport and cleanup excluded domains
* Revert test changes as we assume early set up now
* Migrate alarm_control_panel
* Migrate climate
* Migrate cover
* Migrate device_tracker
* Migrate lock
* Migrate media_player
* Migrate person
* Migrate plant
* Migrate vacuum
* Migrate water_heater
* Remove water_heater group_pre_import
* Use Platform enum if possible
* Also use platform enum for excluded domains
* Set registry to self._registry
* move deregistering call back hook to async_added_to_hass
* Add comment
* Do no pass mutable reference to EXCLUDED_DOMAINS
* Remove unneeded type hint
* 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
* Return specific group state if there is one
* Refactor
* Additional test cases
* Refactor
* Break out if more than one on state
* tweaks
* Remove log, add comment
* add comment
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org>
* Refactor and improve comments
* Refactor to class method
* More filtering
* Apply suggestions from code review
* Only active if not excluded
* Do not use a set
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Erik Montnemery <erik@montnemery.com>