Added leaving home automation.

This commit is contained in:
Marcus Scholz 2021-09-06 13:34:19 +02:00
parent 4e27f82fa6
commit 9575246cd5

View File

@ -75,6 +75,10 @@
target: target:
area_id: area_id:
- wohnzimmer - wohnzimmer
- type: turn_off
device_id: 6d1be741876624a70ab5b01b54c6fd6f
entity_id: switch.kuche_musik
domain: switch
- service: notify.mobile_app_j9110 - service: notify.mobile_app_j9110
data: data:
message: Gute Nacht! message: Gute Nacht!
@ -275,3 +279,33 @@
entity_id: switch.flur_raumduft entity_id: switch.flur_raumduft
domain: switch domain: switch
mode: single mode: single
- id: '1630914505161'
alias: Beim Verlassen der Wohnung alles abschalten
description: ''
trigger:
- platform: zone
entity_id: person.marcus_scholz
zone: zone.home
event: leave
condition: []
action:
- service: light.turn_off
target:
area_id:
- wohnzimmer
- schlafzimmer
- kuche
- type: turn_off
device_id: 6d1be741876624a70ab5b01b54c6fd6f
entity_id: switch.kuche_musik
domain: switch
- type: turn_off
device_id: 5a08ac4c3b3893b540a9934fa92dccfa
entity_id: switch.flur_raumduft
domain: switch
- service: media_player.turn_off
target:
area_id:
- schlafzimmer
- wohnzimmer
mode: single