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
test_binary_sensor.py
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
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
test_sensor.py
test_switch.py
test_wemo_device.py Remove polling_interval_seconds option from wemo (#95468) 2023-06-28 20:27:10 +02:00