Init sub-components using global var. (#17220)
This commit is contained in:
1 parent
7369af0639
commit
5fcea074c4
6 files changed
+13
-138
No files matched your search
@@ -59,7 +59,8 @@ async def test_update_alarm_device(hass):
|
||||
return_value=mock_coro(True)):
|
||||
assert await async_setup_component(hass, 'spc', config) is True
|
||||
|
||||
await hass.async_block_till_done()
|
||||
await hass.async_block_till_done()
|
||||
|
||||
entity_id = 'alarm_control_panel.house'
|
||||
|
||||
assert hass.states.get(entity_id).state == STATE_ALARM_ARMED_AWAY
|
||||
|
||||
Reference in new issue
Block a user