mirror of
https://github.com/home-assistant/core.git
synced 2025-08-15 18:41:44 +02:00
Fix broken sun automation test
This commit is contained in:
@@ -67,7 +67,7 @@ class TestAutomationSun(unittest.TestCase):
|
||||
automation.DOMAIN: {
|
||||
'trigger': {
|
||||
'platform': 'sun',
|
||||
'event': 'sunset',
|
||||
'event': 'sunrise',
|
||||
},
|
||||
'action': {
|
||||
'execute_service': 'test.automation',
|
||||
@@ -114,7 +114,7 @@ class TestAutomationSun(unittest.TestCase):
|
||||
automation.DOMAIN: {
|
||||
'trigger': {
|
||||
'platform': 'sun',
|
||||
'event': 'sunset',
|
||||
'event': 'sunrise',
|
||||
'offset': '-0:30:00'
|
||||
},
|
||||
'action': {
|
||||
|
Reference in New Issue
Block a user