mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Write state if schedule update state from async context (#31758)
* Write state if schedule update state from async context * Fix most tests * Fix test and PS4 I/O in event loop * Fix ps4 better
This commit is contained in:
@@ -214,6 +214,7 @@ async def test_device_defaults(hass, monkeypatch):
|
||||
# test event for new unconfigured sensor
|
||||
event_callback({"id": "protocol_0_0", "command": "off"})
|
||||
await hass.async_block_till_done()
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert calls[0].data == {"state": "off", "entity_id": DOMAIN + ".test"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user