core/tests/components/matter
Stefan Agner be255613de
Add additional tests for Matter update entity (#122575)
* Add additional tests for Matter update entity

Extend test coverage for Matter update entity. This includes tests for
error handling and state store/restore.

* Improve test descriptions

* Add restore test only (using mock_restore_cache_with_extra_data)

* Fix test_update_state_save_and_restore test

* Use homeassistant constants

* Use update component constants

* Use freezer to skip time for device update check

We check device updates every 12h currently. Use the freezer to skip
time.

Still add a test which uses the service call to make sure this works
too.
2024-08-20 12:10:25 +02:00
..
fixtures Fix default turn_on without explicit preset or percentage in Matter Fan platform (#122591) 2024-07-29 12:03:40 +02:00
__init__.py
common.py Fix default turn_on without explicit preset or percentage in Matter Fan platform (#122591) 2024-07-29 12:03:40 +02:00
conftest.py Add Matter update entities for devices with OTA requestor (#120304) 2024-07-23 15:25:02 +02:00
test_adapter.py Revert "Add mac address as connection for matter device (#121257)" (#122133) 2024-07-18 17:38:30 +02:00
test_api.py
test_binary_sensor.py Import Generator from collections.abc (3) (#120916) 2024-07-01 12:09:11 +02:00
test_climate.py Matter handle FeatureMap update (#122544) 2024-07-31 20:37:57 +02:00
test_config_flow.py Import Generator from collections.abc (3) (#120916) 2024-07-01 12:09:11 +02:00
test_cover.py
test_diagnostics.py
test_event.py Fix several issues with the Matter Generic Switch Cluster (#122191) 2024-07-23 10:10:32 +02:00
test_fan.py Matter handle FeatureMap update (#122544) 2024-07-31 20:37:57 +02:00
test_helpers.py
test_init.py Import Generator from collections.abc (3) (#120916) 2024-07-01 12:09:11 +02:00
test_light.py
test_lock.py Matter handle FeatureMap update (#122544) 2024-07-31 20:37:57 +02:00
test_number.py
test_select.py Drop Matter Microwave Oven Mode select entity (#123294) 2024-08-07 16:45:46 +02:00
test_sensor.py
test_switch.py
test_update.py Add additional tests for Matter update entity (#122575) 2024-08-20 12:10:25 +02:00