core/homeassistant/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
binary_sensor.py
config_flow.py
const.py
device_trigger.py
entity.py
fan.py
light.py
manifest.json
models.py
sensor.py
services.yaml
strings.json
switch.py
wemo_device.py