174 lines
4.2 KiB
YAML
174 lines
4.2 KiB
YAML
- alias: Türen öffnen bei Klingeln
|
|
triggers:
|
|
- trigger: event
|
|
event_type: event.haustur_klingeln
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.presence_hauseingang
|
|
state: 'on'
|
|
actions:
|
|
- action: script.turn_on
|
|
target:
|
|
entity_id: script.open_doors
|
|
id: 497581ac8aec41a79d4be2f356d21796
|
|
- alias: Eintreten erlauben, wenn jemand zu Hause ist
|
|
trigger:
|
|
- trigger: state
|
|
entity_id: group.inhabitants
|
|
to: home
|
|
action:
|
|
- action: input_boolean.turn_on
|
|
target:
|
|
entity_id: input_boolean.entry_grant
|
|
id: 19c8a7a889c344e5b9573b5cb343eaad
|
|
- alias: Eintreten verbieten, wenn niemand zuhause ist
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: group.inhabitants
|
|
to: not_home
|
|
actions:
|
|
- action: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.entry_grant
|
|
id: e1e5af7219b74bc4a86e6677f8f7ac00
|
|
- alias: Eintreten nach einer Minute wieder verbieten, wenn niemand zuhause ist
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.entry_grant
|
|
to: 'on'
|
|
actions:
|
|
- delay: 00:01:00
|
|
- condition: state
|
|
entity_id: group.inhabitants
|
|
state: not_home
|
|
- action: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.entry_grant
|
|
id: 0e2d7757ece14a29b26d317e47ee623d
|
|
- alias: Esstisch keine Präsenz mehr
|
|
trigger:
|
|
- trigger: state
|
|
entity_id: binary_sensor.presence_esstisch
|
|
to: 'off'
|
|
action:
|
|
- service: script.turn_on_scene_for_daytime
|
|
data:
|
|
transition_time: 10
|
|
- alias: Esstischlicht hell bei Anwesenheit
|
|
id: '1733732407539'
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.presence_esstisch
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.partymodus
|
|
state: 'off'
|
|
actions:
|
|
- action: light.turn_on
|
|
target:
|
|
entity_id: light.esstisch
|
|
data:
|
|
brightness: 150
|
|
transition: 10
|
|
mode: single
|
|
- alias: Licher an, wenn Ida fährt
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: vacuum.ida
|
|
to: cleaning
|
|
for:
|
|
seconds: 3
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.light_intensity_wohnzimmer
|
|
state: dark
|
|
actions:
|
|
- action: scene.turn_on
|
|
target:
|
|
entity_id: scene.wohnzimmer_energize
|
|
- alias: Aktiviere Lichtszenen bei auf Präsenz
|
|
id: '6552222382601'
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.presence_wohnzimmer
|
|
to: 'on'
|
|
action:
|
|
- service: script.turn_on_scene_for_daytime
|
|
data:
|
|
transition_time: 3
|
|
- alias: Aktiviere Lichtszenen zu gewissen Tageszeiten
|
|
triggers:
|
|
- trigger: time
|
|
at:
|
|
- 07:00:00
|
|
- '17:00:00'
|
|
- '20:00:00'
|
|
- '22:00:00'
|
|
action:
|
|
- service: script.turn_on_scene_for_daytime
|
|
data:
|
|
transition_time: 300
|
|
- alias: Toilettenlicht aus bei Abwesenheit
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.presence_toilette
|
|
to: 'off'
|
|
actions:
|
|
- action: light.turn_off
|
|
target:
|
|
area_id: toilette
|
|
mode: single
|
|
id: 4ea41d6844c846a689ce722f422d4e9b
|
|
- alias: Toilettenlicht an bei Anwesenheit
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.presence_toilette
|
|
to: 'on'
|
|
conditions:
|
|
- condition: numeric_state
|
|
entity_id: sensor.light_level_toilette
|
|
below: 100
|
|
actions:
|
|
- action: scene.turn_on
|
|
target:
|
|
entity_id: scene.toilette_naturliches_licht
|
|
mode: single
|
|
id: 72aa11862ec744bcaeacdff5df1214af
|
|
- alias: Wohnzimmerlicht aus, wenn hell genug
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.light_intensity_wohnzimmer
|
|
to: bright
|
|
actions:
|
|
- action: light.turn_off
|
|
target:
|
|
area_id: wohnzimmer
|
|
mode: single
|
|
- alias: Wohnzimmerlicht aus, wenn nicht benötigt
|
|
id: '1733742144480'
|
|
description: Läuft, wenn alle den Raum verlassen haben oder wenn Ida mit der Reinigung
|
|
fertig ist.
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.presence_wohnzimmer
|
|
to: 'off'
|
|
- trigger: state
|
|
entity_id: vacuum.ida
|
|
to: docked
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.presence_wohnzimmer
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: vacuum.ida
|
|
state: docked
|
|
actions:
|
|
- action: light.turn_off
|
|
target:
|
|
area_id: wohnzimmer
|
|
mode: single
|