updates
This commit is contained in:
65
packages/door_sensors/door_sensors.yaml
Executable file → Normal file
65
packages/door_sensors/door_sensors.yaml
Executable file → Normal file
@ -32,4 +32,67 @@ automation:
|
||||
- service: notify.notify
|
||||
data:
|
||||
message: ist noch offen!
|
||||
title: Freezer
|
||||
title: Freezer
|
||||
|
||||
# Badezimmer oder Gartentüre offen
|
||||
- alias: open_doors_check
|
||||
trigger:
|
||||
- device_id: 95d34c3939ded141bc463c7dbfdeabea
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_on
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- type: is_open
|
||||
condition: device
|
||||
device_id: 85dbfa4e5a7ad4dcc73d74b8f051647b
|
||||
entity_id: binary_sensor.bathroom_window_iaszone
|
||||
domain: binary_sensor
|
||||
- type: is_open
|
||||
condition: device
|
||||
device_id: b8119ef2d21afde8394d70373bb9621e
|
||||
entity_id: binary_sensor.livingroom_freezer_iaszone
|
||||
domain: binary_sensor
|
||||
- type: is_open
|
||||
condition: device
|
||||
device_id: bb0545a3347e971df3a86ffa24477c12
|
||||
entity_id: binary_sensor.livingroom_door_garden_iaszone
|
||||
domain: binary_sensor
|
||||
action:
|
||||
- service: notify.notify
|
||||
data:
|
||||
message: ist noch was offen.
|
||||
title: Alaaarm
|
||||
|
||||
- alias: turn_off_stuff
|
||||
trigger:
|
||||
- device_id: 95d34c3939ded141bc463c7dbfdeabea
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: turn_off
|
||||
action:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.bedroom_lights
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.office_bulb
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.guestroom_switch_lamp
|
||||
- service: script.turn_on
|
||||
target:
|
||||
entity_id: script.denon_tv_turn_off
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.bedroom_switch_lamp
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user