Make automation async
This commit is contained in:
1 parent
16ff68ca84
commit
7ab7edd81c
19 files changed
+205
-346
No files matched your search
@@ -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': {
|
||||
|
||||
Reference in new issue
Block a user