mirror of
https://github.com/home-assistant/core.git
synced 2025-08-16 11:01:39 +02:00
Fix broken sun automation test
This commit is contained in:
@@ -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': {
|
||||||
|
Reference in New Issue
Block a user