diff --git a/automations.yaml b/automations.yaml index 6c623ed..6597912 100644 --- a/automations.yaml +++ b/automations.yaml @@ -75,6 +75,10 @@ target: area_id: - wohnzimmer + - type: turn_off + device_id: 6d1be741876624a70ab5b01b54c6fd6f + entity_id: switch.kuche_musik + domain: switch - service: notify.mobile_app_j9110 data: message: Gute Nacht! @@ -275,3 +279,33 @@ entity_id: switch.flur_raumduft domain: switch 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