Make automation async

This commit is contained in:
Paulus Schoutsen committed 2016-10-01 14:11:16 -07:00
1 parent 16ff68ca84
commit 7ab7edd81c
19 files changed
+205 -346

No files matched your search

+2 -2
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': {