Fix broken sun automation test

This commit is contained in:
Paulus Schoutsen 2015-09-15 00:07:49 -07:00
parent 1ec5178f66
commit ae527e9c6f

View file

@ -67,7 +67,7 @@ class TestAutomationSun(unittest.TestCase):
automation.DOMAIN: { automation.DOMAIN: {
'trigger': { 'trigger': {
'platform': 'sun', 'platform': 'sun',
'event': 'sunset', 'event': 'sunrise',
}, },
'action': { 'action': {
'execute_service': 'test.automation', 'execute_service': 'test.automation',
@ -114,7 +114,7 @@ class TestAutomationSun(unittest.TestCase):
automation.DOMAIN: { automation.DOMAIN: {
'trigger': { 'trigger': {
'platform': 'sun', 'platform': 'sun',
'event': 'sunset', 'event': 'sunrise',
'offset': '-0:30:00' 'offset': '-0:30:00'
}, },
'action': { 'action': {