core/tests/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
..
fixtures
__init__.py
common.py Remove usage of async_add_job in tests (#113259) 2024-03-13 19:33:33 -10:00
conftest.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_binary_sensor.py Add empty line after module docstring [tests f-k] (#112709) 2024-03-08 14:50:04 +01:00
test_config_flow.py Always run keyed event trackers immediately (#114709) 2024-04-04 15:30:01 -10:00
test_cover.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_event.py
test_fan.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_init.py Refactor group state logic (#116318) 2024-05-02 21:55:46 +02:00
test_light.py Use new `setup_test_component_platform` helper instead of test fixture for light platform (#114200) 2024-03-26 00:17:16 +01:00
test_lock.py
test_media_player.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_notify.py Set up notify group with the notify services in test (#115526) 2024-04-13 17:10:16 +02:00
test_recorder.py Add empty line after module docstring [tests f-k] (#112709) 2024-03-08 14:50:04 +01:00
test_reproduce_state.py Add empty line after module docstring [tests f-k] (#112709) 2024-03-08 14:50:04 +01:00
test_sensor.py Enable Ruff B905 (#114197) 2024-04-14 00:14:26 -05:00
test_switch.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00