core/tests/components/group
J. Nick Koston c612a92cfb
Use python defaults for comparing State, LazyState, and Event objects (#86856)
* Speed up comparing State and Event objects

Use default python implementation for State and Event __hash__ and __eq__

The default implementation compared based on the id() of the object
which is effectively what we want here anyways. These overrides are
left over from the days when these used to be attrs objects

By avoiding implementing these ourselves all of the equality checks
can happen in native code

* tweak

* adjust tests

* write out some more

* fix test to not compare objects

* more test fixes

* more test fixes

* correct stats tests

* fix more tests

* fix more tests

* update sensor recorder tests
2023-01-29 13:31:43 -05:00
..
fixtures Add sensor to group (#83186) 2023-01-24 20:12:27 +01:00
__init__.py
common.py
conftest.py
test_binary_sensor.py Improve group tests (#73630) 2022-06-23 21:38:17 +02:00
test_config_flow.py Add sensor to group (#83186) 2023-01-24 20:12:27 +01:00
test_cover.py Add support for unavailable to cover groups (#74053) 2022-06-28 11:12:14 +02:00
test_fan.py Cleanup EntityFeature in tests (#78859) 2022-09-21 10:48:55 +02:00
test_init.py Add sensor to group (#83186) 2023-01-24 20:12:27 +01:00
test_light.py Correct min/max mireds for lights which use K for color temp (#79998) 2022-10-10 16:45:38 +03:00
test_lock.py Rename fake kitchen_sink demo locks to more common name (#86452) 2023-01-23 16:31:02 +01:00
test_media_player.py Enforce MediaPlayerState in group (#78465) 2022-11-30 10:13:14 +01:00
test_notify.py
test_recorder.py Ensure recorder test fixture is setup before hass fixture (#80528) 2022-10-19 07:58:47 +02:00
test_reproduce_state.py Use python defaults for comparing State, LazyState, and Event objects (#86856) 2023-01-29 13:31:43 -05:00
test_sensor.py Enable Ruff PT013 (#86757) 2023-01-27 09:09:46 +01:00
test_switch.py Improve group tests (#73630) 2022-06-23 21:38:17 +02:00