Files
ha_config/automations.yaml
T
2024-02-01 12:50:52 +01:00

478 lines
12 KiB
YAML

- id: '1652892911485'
alias: Dunstabzug an
description: ''
trigger:
- type: opened
platform: device
device_id: 925011b73a5e493591e69fb225b7cfd7
entity_id: binary_sensor.openclose_17
domain: binary_sensor
condition: []
action:
- type: turn_on
device_id: 501d9510266fae1bef92308c34718b38
entity_id: switch.on_off_plug_in_unit_27
domain: switch
mode: single
- id: '1652892963309'
alias: Dunstabzug aus
description: ''
trigger:
- type: not_opened
platform: device
device_id: 925011b73a5e493591e69fb225b7cfd7
entity_id: binary_sensor.openclose_17
domain: binary_sensor
condition: []
action:
- type: turn_off
device_id: 501d9510266fae1bef92308c34718b38
entity_id: switch.on_off_plug_in_unit_27
domain: switch
mode: single
- id: '1654177411866'
alias: arm_blink-system
description: ''
trigger:
- platform: zone
entity_id: device_tracker.mi_9t
zone: zone.home
event: leave
- platform: zone
entity_id: device_tracker.poco_x3_pro
zone: zone.home
event: leave
condition: []
action:
- device_id: 6836ccb6a93416b9743169b0a1567027
domain: alarm_control_panel
entity_id: alarm_control_panel.blink_blink_kameras
type: arm_away
mode: single
- id: '1675426194975'
alias: Henry starten
description: Starten AEG Saugroboter im Standard-Modus
trigger:
- device_id: 3a7d8ce472e3d48d7530661e0a2b73dd
domain: deconz
platform: device
type: remote_button_short_release
subtype: left
condition: []
action:
- device_id: 26a7579f7cc57661a35064dfb47cff05
domain: vacuum
entity_id: vacuum.henry
type: clean
mode: single
- id: '1675426263026'
alias: Henry zur Basis
description: Sendet AEG Saugroboter zur Basis zurück
trigger:
- device_id: 3a7d8ce472e3d48d7530661e0a2b73dd
domain: deconz
platform: device
type: remote_button_short_release
subtype: right
condition: []
action:
- device_id: 26a7579f7cc57661a35064dfb47cff05
domain: vacuum
entity_id: vacuum.henry
type: dock
mode: single
- id: '1679989643189'
alias: info_battery_3QJH
description: ''
trigger:
- type: bat_low
platform: device
device_id: 6ceb8b6e12fe699960c86a2733e3625d
entity_id: binary_sensor.blink_carport_battery
domain: binary_sensor
condition: []
action:
- service: notify.mobile_app_phone_1
data:
message: Battery Blink Carport is low
title: Attention
- service: notify.hass_synchat
data:
message: Battery Blink Carport is low
title: Attention
mode: single
- id: '1679989681294'
alias: info_battery_3QLG
description: ''
trigger:
- type: bat_low
platform: device
device_id: de1028940093c9c8648b3f8de481d3a8
entity_id: binary_sensor.blink_grundstuck_battery
domain: binary_sensor
condition: []
action:
- service: notify.mobile_app_phone_1
data:
message: Battery Blink Terrasse is low
title: Attention
- service: notify.hass_synchat
data:
message: Battery Blink Terrasse is low
title: Attention
mode: single
- id: '1679989779284'
alias: blink_2h_newimage
description: Triggers every 2 hours to refresh the picture
trigger:
- platform: time_pattern
hours: /2
condition: []
action:
- service: blink.trigger_camera
data: {}
target:
entity_id:
- camera.blink_carport
- camera.blink_grundstuck
- camera.blink_terrasse
mode: single
- id: '1679990307886'
alias: ring_30min_Wohnen_new_snapshot
description: ''
trigger:
- platform: time_pattern
minutes: /30
condition: []
action:
- service: camera.snapshot
data:
filename: /tmp/wohnen_snap.jpg
target:
entity_id: camera.flur
mode: single
- id: '1697198876699'
alias: Open_Window_Recognition_GWC
description: Fenster öffen schaltet thermostat aus
trigger:
- type: opened
platform: device
device_id: 3d9bbd20d917477dba1d762a3d8e57d0
entity_id: 63d4831aedc671a64c86af2bcefdd983
domain: binary_sensor
condition: []
action:
- device_id: a152eac711fe7d8599834c5016e8ec79
domain: climate
entity_id: 234b20c3d47cc9b257eb39806a8df372
type: set_hvac_mode
hvac_mode: 'off'
mode: single
- id: '1697198957606'
alias: Heizen_GWC
description: Schaltet Thermostat auf heizen, wenn Fenster schließt
trigger:
- type: not_opened
platform: device
device_id: 3d9bbd20d917477dba1d762a3d8e57d0
entity_id: 63d4831aedc671a64c86af2bcefdd983
domain: binary_sensor
condition: []
action:
- device_id: a152eac711fe7d8599834c5016e8ec79
domain: climate
entity_id: 234b20c3d47cc9b257eb39806a8df372
type: set_hvac_mode
hvac_mode: heat
mode: single
- id: '1697219751213'
alias: OpenWindow_EZ
description: ''
trigger:
- type: opened
platform: device
device_id: 938becb0cb270ff5ba696295c9725265
entity_id: 037cd57a6b208ae6111efdd18c4b646f
domain: binary_sensor
condition: []
action:
- device_id: 4310fd4e6889633f88fc76c2c040b2a2
domain: climate
entity_id: 36ed9ff3613857c403d338429d180187
type: set_hvac_mode
hvac_mode: 'off'
mode: single
- id: '1697219805799'
alias: CloseWindow_EZ
description: ''
trigger:
- type: not_opened
platform: device
device_id: 938becb0cb270ff5ba696295c9725265
entity_id: 037cd57a6b208ae6111efdd18c4b646f
domain: binary_sensor
condition: []
action:
- device_id: 4310fd4e6889633f88fc76c2c040b2a2
domain: climate
entity_id: 36ed9ff3613857c403d338429d180187
type: set_hvac_mode
hvac_mode: heat
mode: single
- id: '1697219876457'
alias: OpenWindow_K
description: ''
trigger:
- type: opened
platform: device
device_id: 925011b73a5e493591e69fb225b7cfd7
entity_id: 3cd23ba868711451231a06df2c8b2a70
domain: binary_sensor
condition: []
action:
- device_id: d1b6e8d6cb808a38ac2b0e02c8263748
domain: climate
entity_id: f377ead71021311ed369a790fc19115c
type: set_hvac_mode
hvac_mode: 'off'
mode: single
- id: '1697219906412'
alias: CloseWindow_K
description: ''
trigger:
- type: not_opened
platform: device
device_id: 925011b73a5e493591e69fb225b7cfd7
entity_id: 3cd23ba868711451231a06df2c8b2a70
domain: binary_sensor
condition: []
action:
- device_id: d1b6e8d6cb808a38ac2b0e02c8263748
domain: climate
entity_id: f377ead71021311ed369a790fc19115c
type: set_hvac_mode
hvac_mode: heat
mode: single
- id: '1697219964028'
alias: OpenWindow_WZ
description: ''
trigger:
- type: opened
platform: device
device_id: 8579bd30fee6b1e2f4fdd308b10f1294
entity_id: b44da533c2091c7e686b2981886e8520
domain: binary_sensor
condition: []
action:
- device_id: 4e5bc694a9c4d1cb2c9acd8da493aa33
domain: climate
entity_id: 7d001a74f7572603920f3ee67fd4f05a
type: set_hvac_mode
hvac_mode: 'off'
mode: single
- id: '1697219992895'
alias: CloseWindow_WZ
description: ''
trigger:
- type: not_opened
platform: device
device_id: 8579bd30fee6b1e2f4fdd308b10f1294
entity_id: b44da533c2091c7e686b2981886e8520
domain: binary_sensor
condition: []
action:
- device_id: 4e5bc694a9c4d1cb2c9acd8da493aa33
domain: climate
entity_id: 7d001a74f7572603920f3ee67fd4f05a
type: set_hvac_mode
hvac_mode: heat
mode: single
- id: '1699360571026'
alias: Wohnraum_aufheizen
description: Thermostaten im Wohnbereich auf "On" werktags um 16:00 Uhr
trigger:
- platform: time
at: '16:00:00'
condition:
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: climate.set_temperature
data:
temperature: 25
target:
device_id:
- 4310fd4e6889633f88fc76c2c040b2a2
- 4e5bc694a9c4d1cb2c9acd8da493aa33
mode: single
- id: '1699360994119'
alias: Wohnraum_normal
description: Thermostaten im Wohnbereich auf 23°C werktags ab 18:00 Uhr
trigger:
- platform: time
at: '18:00:00'
condition:
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- service: climate.set_temperature
data:
temperature: 22
target:
device_id:
- 4310fd4e6889633f88fc76c2c040b2a2
- 4e5bc694a9c4d1cb2c9acd8da493aa33
mode: single
- id: '1700655324441'
alias: Ring_Lights_3min
description: Wenns klingelt, schalte Eingangsbeleuchtung für 3 Minuten ein, dann
wieder aus.
trigger:
- platform: state
entity_id:
- binary_sensor.haustur_ding
from: 'off'
to: 'on'
condition:
- condition: sun
before: sunrise
after: sunset
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.on_off_plug_in_unit_33
- delay:
hours: 0
minutes: 3
seconds: 0
milliseconds: 0
- service: switch.turn_off
data: {}
target:
entity_id: switch.on_off_plug_in_unit_33
mode: single
- id: '1700655937621'
alias: Ring_Motion_LightsOn_1m
description: Wenn Bewegung festgestellt, schalte Eingangsbeleuchtung ein für 1 Minute
trigger:
- platform: state
entity_id:
- binary_sensor.haustur_motion
from: 'off'
to: 'on'
condition:
- condition: sun
before: sunrise
after: sunset
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.on_off_plug_in_unit_33
- delay:
hours: 0
minutes: 1
seconds: 0
milliseconds: 0
- service: switch.turn_off
data: {}
target:
entity_id: switch.on_off_plug_in_unit_33
mode: single
- id: '1702998213164'
alias: Bodensensor_Batterie_schwach
description: ''
trigger:
- type: battery_level
platform: device
device_id: 08b4e2ecbf199bc85cc9a2d1f40cabcb
entity_id: 1bcc278d48917c5a802e27f2eeffa5d9
domain: sensor
below: 10
condition: []
action:
- service: notify.mobile_app_phone_1
data:
message: Battery Blink Carport is low
title: Attention
mode: single
- id: '1703424483609'
alias: OpenWindow_HWR
description: ''
trigger:
- type: opened
platform: device
device_id: b5cf85bb338ae5f4c153bd9e50f4108d
entity_id: e514fa88f6aed2c3edce0b8e759aabeb
domain: binary_sensor
condition: []
action:
- device_id: cddc98ceb2cb41339a3f275bc4252103
domain: climate
entity_id: c9f5569dab1fbf4342cc5c9234393a13
type: set_hvac_mode
hvac_mode: 'off'
mode: single
- id: '1703424624861'
alias: CloseWindow_HWR
description: ''
trigger:
- type: not_opened
platform: device
device_id: b5cf85bb338ae5f4c153bd9e50f4108d
entity_id: e514fa88f6aed2c3edce0b8e759aabeb
domain: binary_sensor
condition: []
action:
- device_id: cddc98ceb2cb41339a3f275bc4252103
domain: climate
entity_id: c9f5569dab1fbf4342cc5c9234393a13
type: set_hvac_mode
hvac_mode: heat
mode: single
- id: '1704809927574'
alias: info_battery_haustür
description: ''
trigger:
- type: battery_level
platform: device
device_id: 1130260339712c9b3286464e2b148876
entity_id: 625d0c9d0634087e813593e30368e45f
domain: sensor
below: 5
condition: []
action:
- service: notify.mobile_app_phone_1
data:
message: Battery Ring Haustür is low
title: Attention
- service: notify.hass_synchat
data:
message: Battery Ring Haustür is low
title: Attention
mode: single
- id: '1704809998635'
alias: info_battery_garten
description: ''
trigger:
- type: battery_level
platform: device
device_id: 9e8fab1237714c677c6d747fe81e5639
entity_id: eb89c5a51befafbb6ab287111ff3f0d9
domain: sensor
below: 5
condition: []
action:
- service: notify.mobile_app_phone_1
data:
message: Battery Ring Garten is low
title: Attention
- service: notify.hass_synchat
data:
message: Battery Ring Garten is low
title: Attention
mode: single