* Write data to ha after entity added * Properly mock api return values Some values like _attr_is_on were mapped to MagicMocks which led to them evaluating to True. Actually calling the update state method when adding the entities made that improper mocking come to the surface. * Call _update_state instead of _recv_data |
||
---|---|---|
.. | ||
__init__.py | ||
climate.py | ||
config_flow.py | ||
const.py | ||
device.py | ||
entity.py | ||
heartbeat.py | ||
helpers.py | ||
light.py | ||
manifest.json | ||
remote.py | ||
sensor.py | ||
strings.json | ||
switch.py | ||
updater.py |