hass-core/homeassistant/components/broadlink
Kevin Stillhammer 8ab6a505a4
Write data to state after Broadlink entity added (#121493)
* 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
2024-07-08 13:15:17 +02:00
..
__init__.py Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
climate.py Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
config_flow.py Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
const.py Bump Broadlink to 0.19.0 (#115742) 2024-04-17 14:37:38 -05:00
device.py Improve type hints in broadlink (#121285) 2024-07-05 11:12:01 +02:00
entity.py Write data to state after Broadlink entity added (#121493) 2024-07-08 13:15:17 +02:00
heartbeat.py Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
helpers.py Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
light.py Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
manifest.json Bump Broadlink to 0.19.0 (#115742) 2024-04-17 14:37:38 -05:00
remote.py Enable Ruff RUF010 (#115371) 2024-05-08 23:54:49 +02:00
sensor.py Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
strings.json Broadlink, BSB-Lan: add host field description (#104770) 2023-11-30 08:47:37 +01:00
switch.py Add import aliases for PLATFORM_SCHEMA (#120445) 2024-06-25 19:16:19 +02:00
updater.py Improve type hints in broadlink (#121285) 2024-07-05 11:12:01 +02:00