Disable M's out-of-home

This commit is contained in:
Marcus Scholz 2024-07-01 14:04:54 +02:00
parent 48d29a6585
commit 624ee50d14

View File

@ -372,7 +372,11 @@
entity_id: person.marcus_scholz entity_id: person.marcus_scholz
zone: zone.home zone: zone.home
event: leave event: leave
condition: [] condition:
- condition: state
entity_id: person.marianna_scholz
state: not_home
enabled: false
action: action:
- service: light.turn_off - service: light.turn_off
target: target:
@ -418,6 +422,12 @@
- condition: sun - condition: sun
after_offset: '-1' after_offset: '-1'
after: sunset after: sunset
enabled: false
- condition: sun
before: sunrise
before_offset: '+1'
after: sunset
after_offset: '-1'
action: action:
- service: script.moodlight_orange_plasma - service: script.moodlight_orange_plasma
data: {} data: {}