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

+4 -4
View File
@@ -250,7 +250,7 @@ class TestAutomationTime(unittest.TestCase):
'event_type': 'test_event'
},
'condition': {
'platform': 'time',
'condition': 'time',
'before': '10:00',
},
'action': {
@@ -285,7 +285,7 @@ class TestAutomationTime(unittest.TestCase):
'event_type': 'test_event'
},
'condition': {
'platform': 'time',
'condition': 'time',
'after': '10:00',
},
'action': {
@@ -320,7 +320,7 @@ class TestAutomationTime(unittest.TestCase):
'event_type': 'test_event'
},
'condition': {
'platform': 'time',
'condition': 'time',
'weekday': 'mon',
},
'action': {
@@ -356,7 +356,7 @@ class TestAutomationTime(unittest.TestCase):
'event_type': 'test_event'
},
'condition': {
'platform': 'time',
'condition': 'time',
'weekday': ['mon', 'tue'],
},
'action': {