Refactor conditions and triggers based on sun

This commit is contained in:
2020-05-03 15:52:26 +03:00
parent c0c0beafd0
commit d6ad40a621
3 changed files with 6 additions and 8 deletions
+2 -3
View File
@@ -23,9 +23,8 @@ script:
routine_coming_home_after_sunset:
alias: Routine · Coming home · After sunset
sequence:
- condition: state
entity_id: sun.sun
state: "below_horizon"
- condition: sun
after: sunset
- service: light.turn_on
entity_id: light.on_after_dark
data: