hass-core/tests/components/wemo
Eric Severance 5ffffd8dbc
Fully unload wemo config entry (#96620)
* Fully unload wemo config entity

* Test reloading the config entry

* Encapsulate data with dataclasses

* Fix missing test coverage

* Replace if with assert for options that are always set

* Move WemoData/WemoConfigEntryData to models.py

* Use _ to indicate unused argument

* Test that the entry and entity work after reloading

* Nit: Slight test reordering

* Reset the correct mock (get_state)

* from .const import DOMAIN

* Nit: _async_wemo_data -> async_wemo_data; not module private
2023-07-20 10:06:16 +02:00
..
__init__.py
conftest.py Fully unload wemo config entry (#96620) 2023-07-20 10:06:16 +02:00
entity_test_helpers.py Add type hints to integration tests (part 25) (#88308) 2023-02-17 16:52:28 +01:00
test_binary_sensor.py Bump pywemo==0.8.1 (#72400) 2022-05-24 09:53:01 +02:00
test_config_flow.py Remove polling_interval_seconds option from wemo (#95468) 2023-06-28 20:27:10 +02:00
test_device_trigger.py Use entity registry id in toggle_entity device automations (#94995) 2023-06-26 09:59:01 +02:00
test_fan.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_init.py Fully unload wemo config entry (#96620) 2023-07-20 10:06:16 +02:00
test_light_bridge.py pyWeMo serialnumber is deprecated, use serial_number (#94791) 2023-06-17 20:59:19 -04:00
test_light_dimmer.py Add type hints to integration tests (part 25) (#88308) 2023-02-17 16:52:28 +01:00
test_sensor.py
test_switch.py Add type hints to integration tests (part 25) (#88308) 2023-02-17 16:52:28 +01:00
test_wemo_device.py Remove polling_interval_seconds option from wemo (#95468) 2023-06-28 20:27:10 +02:00