229 lines
6.3 KiB
YAML
229 lines
6.3 KiB
YAML
- alias: Kaffeeerinnerung
|
|
description: ''
|
|
triggers:
|
|
- trigger: tag
|
|
tag_id: 386d74c2-13dd-4aaf-b03d-c2a756e1bf56
|
|
conditions: []
|
|
actions:
|
|
- delay:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
milliseconds: 0
|
|
- action: script.benachrichtigung
|
|
metadata: {}
|
|
data:
|
|
an_sprachassistenten_senden: true
|
|
immer_per_pushnachricht_senden: false
|
|
an_lametric_senden: true
|
|
benachrichtigungstext: Du hast deinen Kaffee vergessen!
|
|
mode: single
|
|
- alias: Beleuchtung Arbeitszimmer
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- binary_sensor.presence_sensor_fp2_963d_presence_sensor_1
|
|
- trigger: numeric_state
|
|
entity_id:
|
|
- sensor.presence_sensor_fp2_963d_light_sensor_light_level
|
|
below: 30
|
|
- trigger: numeric_state
|
|
entity_id:
|
|
- sensor.presence_sensor_fp2_963d_light_sensor_light_level
|
|
above: 80
|
|
conditions: []
|
|
actions:
|
|
- choose:
|
|
- conditions:
|
|
- condition: and
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.presence_sensor_fp2_963d_presence_sensor_1
|
|
state: 'on'
|
|
- condition: numeric_state
|
|
entity_id: sensor.presence_sensor_fp2_963d_light_sensor_light_level
|
|
below: 30
|
|
sequence:
|
|
- action: scene.turn_on
|
|
metadata: {}
|
|
target:
|
|
entity_id: scene.og_arbeitszimmer_chinatown
|
|
data: {}
|
|
- conditions:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.presence_sensor_fp2_963d_presence_sensor_1
|
|
state: 'off'
|
|
- condition: numeric_state
|
|
entity_id: sensor.presence_sensor_fp2_963d_light_sensor_light_level
|
|
above: 80
|
|
sequence:
|
|
- action: light.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: light.og_arbeitszimmer
|
|
mode: single
|
|
- alias: Beleuchtung Flur
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- binary_sensor.aussenflur_bewegungsmelder_1_bewegung
|
|
- binary_sensor.innenflur_bewegungsmelder_1_bewegung
|
|
- binary_sensor.innenflur_bewegungsmelder_2_bewegung
|
|
to: 'on'
|
|
from: 'off'
|
|
conditions:
|
|
- condition: and
|
|
conditions:
|
|
- condition: numeric_state
|
|
entity_id: sensor.wetterstation_beleuchtungsstarke
|
|
below: 300
|
|
- condition: time
|
|
after: 06:00:00
|
|
before: '22:00:00'
|
|
actions:
|
|
- choose:
|
|
- conditions:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.aussenflur_bewegungsmelder_1_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.innenflur_bewegungsmelder_1_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.innenflur_bewegungsmelder_2_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: spring
|
|
sequence:
|
|
- action: scene.turn_on
|
|
metadata: {}
|
|
target:
|
|
entity_id: scene.og_flur_fruhling
|
|
data: {}
|
|
- conditions:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.aussenflur_bewegungsmelder_1_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.innenflur_bewegungsmelder_1_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.innenflur_bewegungsmelder_2_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: summer
|
|
sequence:
|
|
- action: scene.turn_on
|
|
metadata: {}
|
|
target:
|
|
entity_id: scene.og_flur_sonnenuntergang_savanne
|
|
data: {}
|
|
- conditions:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.aussenflur_bewegungsmelder_1_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.innenflur_bewegungsmelder_1_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.innenflur_bewegungsmelder_2_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: autumn
|
|
sequence:
|
|
- action: scene.turn_on
|
|
metadata: {}
|
|
target:
|
|
entity_id: scene.og_flur_herbst
|
|
data: {}
|
|
- conditions:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.aussenflur_bewegungsmelder_1_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.innenflur_bewegungsmelder_1_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.innenflur_bewegungsmelder_2_bewegung
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: sensor.season
|
|
state: winter
|
|
sequence:
|
|
- action: scene.turn_on
|
|
metadata: {}
|
|
target:
|
|
entity_id: scene.og_flur_winter
|
|
data: {}
|
|
mode: single
|
|
- alias: Waschmaschine fertig
|
|
description: Sendet eine Benachrichtigung, wenn die Waschmaschine fertig ist.
|
|
triggers:
|
|
- type: power
|
|
device_id: 0c97b5e2ad669d60d25a8d424e7fa3af
|
|
entity_id: 36c2b9769a16172d18bda55287fa493e
|
|
domain: sensor
|
|
below: 2
|
|
for:
|
|
hours: 0
|
|
minutes: 3
|
|
seconds: 0
|
|
above: 0
|
|
trigger: device
|
|
conditions: []
|
|
actions:
|
|
- action: script.benachrichtigung
|
|
metadata: {}
|
|
data:
|
|
an_sprachassistenten_senden: true
|
|
immer_per_pushnachricht_senden: false
|
|
an_lametric_senden: true
|
|
benachrichtigungstext: Die Waschmaschine ist fertig.
|
|
mode: single
|
|
- alias: Badezimmer Lüfter
|
|
description: ''
|
|
triggers:
|
|
- trigger: state
|
|
entity_id:
|
|
- sensor.smart_temp_humidity_sensor_39000dd28397_humidity
|
|
conditions: []
|
|
actions:
|
|
- choose:
|
|
- conditions:
|
|
- condition: numeric_state
|
|
entity_id: sensor.smart_temp_humidity_sensor_39000dd28397_humidity
|
|
above: 78
|
|
sequence:
|
|
- action: light.turn_on
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: light.lufter
|
|
- conditions:
|
|
- condition: numeric_state
|
|
entity_id: sensor.smart_temp_humidity_sensor_39000dd28397_humidity
|
|
below: 72
|
|
sequence:
|
|
- action: light.turn_off
|
|
metadata: {}
|
|
data: {}
|
|
target:
|
|
entity_id: light.lufter
|
|
mode: single
|