1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Make automation async

This commit is contained in:
Paulus Schoutsen
2016-10-01 01:22:13 -07:00
parent 16ff68ca84
commit 7ab7edd81c
19 changed files with 205 additions and 346 deletions

View File

@@ -213,7 +213,7 @@ class TestAutomationState(unittest.TestCase):
'event_type': 'test_event',
},
'condition': [{
'platform': 'state',
'condition': 'state',
'entity_id': entity_id,
'state': test_state
}],
@@ -360,7 +360,7 @@ class TestAutomationState(unittest.TestCase):
'event_type': 'test_event',
},
'condition': {
'platform': 'state',
'condition': 'state',
'entity_id': 'test.entity',
'state': 'on',
'for': {