core/tests/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 Write data to state after Broadlink entity added (#121493) 2024-07-08 13:15:17 +02:00
conftest.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_config_flow.py Use FlowResultType enum in config flow tests A-M (#114681) 2024-04-03 09:21:17 +02:00
test_device.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_heartbeat.py Replace periodic tasks with background tasks (#112726) 2024-03-08 21:45:10 -05:00
test_helpers.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_remote.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_sensors.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_switch.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00