3431 lines
83 KiB
YAML
3431 lines
83 KiB
YAML
- action:
|
||
- data: {}
|
||
service: readme.generate
|
||
alias: Admin - Generate README.md
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: a7c427e6-ce03-49eb-9a23-c5bbe7625aa4
|
||
initial_state: true
|
||
trigger:
|
||
- at: 05:00:00
|
||
platform: time
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- echoWZ
|
||
sequence:
|
||
- action: input_text.set_value
|
||
data:
|
||
value: null
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_text.last_timer_echo
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- echoSZ
|
||
sequence:
|
||
- action: input_text.set_value
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_text.last_timer_echo
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- echoBU
|
||
sequence:
|
||
- action: input_text.set_value
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_text.last_timer_echo
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- echoFL
|
||
sequence:
|
||
- action: input_text.set_value
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_text.last_timer_echo
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- echoBZ
|
||
sequence:
|
||
- action: input_text.set_value
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_text.last_timer_echo
|
||
alias: Alexa Last Timer DELETE
|
||
conditions: []
|
||
description: ''
|
||
id: '1747228226174'
|
||
mode: single
|
||
triggers:
|
||
- attribute: status
|
||
entity_id:
|
||
- sensor.echo_schlafzimmer_next_timer
|
||
id: echoSZ
|
||
to: 'OFF'
|
||
trigger: state
|
||
- attribute: status
|
||
entity_id:
|
||
- sensor.echo_buro_next_timer
|
||
id: echoBU
|
||
to: 'OFF'
|
||
trigger: state
|
||
- attribute: status
|
||
entity_id:
|
||
- sensor.echo_flur_next_timer
|
||
id: echoFL
|
||
to: 'OFF'
|
||
trigger: state
|
||
- attribute: status
|
||
entity_id:
|
||
- sensor.echo_badezimmer_next_timer
|
||
id: echoBZ
|
||
to: 'OFF'
|
||
trigger: state
|
||
- attribute: status
|
||
entity_id:
|
||
- sensor.echo_show_wohnzimmer_next_timer
|
||
id: echoWZ
|
||
to: 'OFF'
|
||
trigger: state
|
||
- actions:
|
||
- action: notify.all_iphones
|
||
data:
|
||
data:
|
||
actions:
|
||
- action: URI
|
||
title: Resolve now!
|
||
uri: /lovelace/home
|
||
message: 🔑 Authentication Required
|
||
title: Alexa Media Player Integration
|
||
alias: Alexa Media Player Authentication Required
|
||
conditions: []
|
||
description: ''
|
||
id: alexa_media_player_authentication_required
|
||
triggers:
|
||
- event_type: alexa_media_relogin_required
|
||
trigger: event
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- echoSZ
|
||
sequence:
|
||
- action: input_text.set_value
|
||
data:
|
||
value: sensor.echo_schlafzimmer_next_timer
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_text.last_timer_echo
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- echoBU
|
||
sequence:
|
||
- action: input_text.set_value
|
||
data:
|
||
value: sensor.echo_buro_next_timer
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_text.last_timer_echo
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- echoFL
|
||
sequence:
|
||
- action: input_text.set_value
|
||
data:
|
||
value: sensor.echo_flur_next_timer
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_text.last_timer_echo
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- echoBZ
|
||
sequence:
|
||
- action: input_text.set_value
|
||
data:
|
||
value: sensor.echo_badezimmer_next_timer
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_text.last_timer_echo
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- echoWZ
|
||
sequence:
|
||
- action: input_text.set_value
|
||
data:
|
||
value: sensor.echo_show_wohnzimmer_next_timer
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_text.last_timer_echo
|
||
alias: Alexa Timer Check
|
||
conditions: []
|
||
description: ''
|
||
id: '1747227567252'
|
||
mode: single
|
||
triggers:
|
||
- attribute: status
|
||
entity_id:
|
||
- sensor.echo_schlafzimmer_next_timer
|
||
id: echoSZ
|
||
to: 'ON'
|
||
trigger: state
|
||
- attribute: status
|
||
entity_id:
|
||
- sensor.echo_buro_next_timer
|
||
id: echoBU
|
||
to: 'ON'
|
||
trigger: state
|
||
- attribute: status
|
||
entity_id:
|
||
- sensor.echo_flur_next_timer
|
||
id: echoFL
|
||
to: 'ON'
|
||
trigger: state
|
||
- attribute: status
|
||
entity_id:
|
||
- sensor.echo_badezimmer_next_timer
|
||
id: echoBZ
|
||
to: 'ON'
|
||
trigger: state
|
||
- attribute: status
|
||
entity_id:
|
||
- sensor.echo_show_wohnzimmer_next_timer
|
||
id: echoWZ
|
||
to: 'ON'
|
||
trigger: state
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- anyoneHomeOn
|
||
sequence:
|
||
- action: switch.turn_on
|
||
data: {}
|
||
target:
|
||
device_id: 9d14dca47a5773d55c5f7f9d16c58476
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- doorOpenOn
|
||
- condition: template
|
||
enabled: true
|
||
value_template: '{{ is_state_attr(''media_player.spotify_florian'', ''source'',
|
||
''iPhone'') }}'
|
||
- condition: template
|
||
enabled: true
|
||
value_template: '{{ is_state(''media_player.spotify_florian'', ''playing'')
|
||
}}'
|
||
sequence:
|
||
- action: notify.florian_notify
|
||
data:
|
||
message: Ich habe die Musik von deinem iPhone auf Sonos Ray gestellt
|
||
title: Willkommen Zuhause 🏠
|
||
- action: media_player.select_source
|
||
data:
|
||
source: Spotify Connect
|
||
target:
|
||
entity_id: media_player.sonos_ray_wohnzimmer
|
||
- action: media_player.select_source
|
||
data:
|
||
source: Sonos Ray
|
||
target:
|
||
entity_id: media_player.spotify_florian
|
||
- action: media_player.media_play
|
||
data: {}
|
||
target:
|
||
entity_id: media_player.sonos_ray_wohnzimmer
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- doorOpenOn
|
||
- condition: template
|
||
enabled: true
|
||
value_template: '{{ (as_timestamp(now()) - as_timestamp(states.person.florian_wartner.last_changed))
|
||
< 10 }}'
|
||
sequence:
|
||
- action: script.willkommen_florian
|
||
data: {}
|
||
metadata: {}
|
||
alias: Ankommen
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.guestmode
|
||
state: 'off'
|
||
description: ''
|
||
id: '1691741828322'
|
||
mode: single
|
||
triggers:
|
||
- enabled: true
|
||
entity_id:
|
||
- binary_sensor.aqara_contact_wohnungstur_contact
|
||
for:
|
||
hours: 0
|
||
minutes: 0
|
||
seconds: 2
|
||
from: 'on'
|
||
id: doorOpenOn
|
||
to: 'off'
|
||
trigger: state
|
||
- entity_id:
|
||
- sensor.people_home
|
||
id: anyoneHomeOn
|
||
to: '1'
|
||
trigger: state
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- timeOn
|
||
sequence:
|
||
- action: switch.turn_on
|
||
data: {}
|
||
target:
|
||
entity_id:
|
||
- switch.dashboard_flur_bildschirm
|
||
- switch.lenovo_tab_m10_bildschirm
|
||
alias: Aufstehen
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1692310400644'
|
||
mode: single
|
||
triggers:
|
||
- at: 08:30:00
|
||
id: timeOn
|
||
trigger: time
|
||
- action:
|
||
- data:
|
||
payload: '{"text":"Download speed is {{ states.sensor.speedtest_download.state}} Mbp/s","icon":"download","pushIcon":0,"repeat":1,"textCase":2,"textOffset":33}'
|
||
qos: '0'
|
||
retain: false
|
||
topic: awtrix_wohnzimmer/custom/speedtest_down
|
||
metadata: {}
|
||
service: mqtt.publish
|
||
- data:
|
||
payload: '{"text":"Upload speed is {{ states.sensor.speedtest_upload.state}} Mbp/s","icon":"upload","pushIcon":0,"repeat":1,"textCase":2,"textOffset":33}'
|
||
qos: '0'
|
||
retain: false
|
||
topic: awtrix_wohnzimmer/custom/speedtest_up
|
||
metadata: {}
|
||
service: mqtt.publish
|
||
alias: 'AWTRIX: Speedtest'
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1715341229281'
|
||
mode: single
|
||
trigger:
|
||
- minutes: /10
|
||
platform: time_pattern
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: state
|
||
entity_id: media_player.spotify_florian
|
||
state: playing
|
||
- attribute: media_content_type
|
||
condition: state
|
||
entity_id: media_player.spotify_florian
|
||
state: music
|
||
sequence:
|
||
- data:
|
||
payload: "{\n \"text\": \"{{ state_attr('media_player.spotify_florian',\
|
||
\ 'media_artist') }} - {{ state_attr('media_player.spotify_florian', 'media_title')\
|
||
\ }}\",\n \"icon\": \"647\",\n \"rainbow\": true,\n \"repeat\": 2,\n\
|
||
\ \"pushIcon\": 0,\n \"textCase\": 0,\n \"textOffset\": 15,\n \"progress\"\
|
||
: {{ ( states.media_player.spotify_florian.attributes.media_position /\
|
||
\ states.media_player.spotify_florian.attributes.media_duration * 100\
|
||
\ ) | round() }},\n \"progressC\": \"18B04C\"\n}"
|
||
qos: 0
|
||
retain: false
|
||
topic: awtrix_wohnzimmer/custom/spotify
|
||
service: mqtt.publish
|
||
- conditions:
|
||
- condition: template
|
||
value_template: '{{ not states.media_player.spotify_florian.state == ''playing''
|
||
}}'
|
||
sequence:
|
||
- data:
|
||
qos: 0
|
||
retain: false
|
||
topic: awtrix_wohnzimmer/custom/spotify
|
||
service: mqtt.publish
|
||
alias: Awtrix Spotify NowPlaying 🎹
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1715341461660'
|
||
trigger:
|
||
- entity_id: media_player.spotify_florian
|
||
platform: state
|
||
- action:
|
||
- data:
|
||
payload: '{"icon": "instagram", "text": "{{ states(''sensor.instagram_api'')}}
|
||
Follower", "duration": 5 }'
|
||
qos: '0'
|
||
retain: false
|
||
topic: awtrix_wohnzimmer/custom/instagramfollower
|
||
metadata: {}
|
||
service: mqtt.publish
|
||
alias: 'AWTRIX: Wohnzimmer Instagram Follower'
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1715336573998'
|
||
mode: single
|
||
trigger:
|
||
- minutes: /5
|
||
platform: time_pattern
|
||
- actions:
|
||
- action: button.press
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id:
|
||
- button.roborock_s7_maxv_kuche_voll
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 10
|
||
seconds: 0
|
||
- action: button.press
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id:
|
||
- button.roborock_s7_maxv_badezimmer_voll
|
||
alias: Bad und Küche reinigen täglich
|
||
conditions: []
|
||
description: ''
|
||
id: '1745312564357'
|
||
mode: single
|
||
triggers:
|
||
- event: sunset
|
||
offset: 0
|
||
trigger: sun
|
||
- action:
|
||
- action: cover.close_cover
|
||
data: {}
|
||
target:
|
||
entity_id: cover.ikea_rollo_balkontur
|
||
alias: Balkontür Rollo Öffnen
|
||
condition:
|
||
- condition: state
|
||
entity_id: binary_sensor.aqara_contact_balkontur_contact
|
||
state: 'on'
|
||
description: ''
|
||
id: '1726224334152'
|
||
mode: single
|
||
trigger:
|
||
- entity_id:
|
||
- cover.ikea_rollo_balkontur
|
||
platform: state
|
||
to: opening
|
||
- actions:
|
||
- action: homeassistant.update_entity
|
||
data:
|
||
entity_id:
|
||
- image.bambu_lab_a1_titelbild
|
||
alias: Bambu Lab A1 Image Reload
|
||
conditions: []
|
||
description: ''
|
||
id: '1730139795585'
|
||
mode: single
|
||
triggers:
|
||
- entity_id:
|
||
- sensor.bambu_lab_a1_aktueller_arbeitsschritt
|
||
to: printing
|
||
trigger: state
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- low
|
||
sequence:
|
||
- action: persistent_notification.create
|
||
data:
|
||
message: 'The device has a battery level of {{ trigger.event.data.battery_level
|
||
}}% {{ ''\n'' -}} You need {{ trigger.event.data.battery_quantity }}×
|
||
{{ trigger.event.data.battery_type }}
|
||
|
||
'
|
||
notification_id: '{{ trigger.event.data.device_id }}-{{ trigger.event.data.source_entity_id
|
||
}}'
|
||
title: '{{ trigger.event.data.device_name }} Battery Low
|
||
|
||
'
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- high
|
||
sequence:
|
||
- action: persistent_notification.dismiss
|
||
data:
|
||
notification_id: '{{ trigger.event.data.device_id }}-{{ trigger.event.data.source_entity_id
|
||
}}'
|
||
alias: Battery Low Notification
|
||
conditions: []
|
||
description: Battery Low Notification with auto dismiss
|
||
id: '1731317783562'
|
||
mode: queued
|
||
triggers:
|
||
- alias: Battery went low
|
||
event_data:
|
||
battery_low: true
|
||
event_type: battery_notes_battery_threshold
|
||
id: low
|
||
trigger: event
|
||
- alias: Battery went high
|
||
event_data:
|
||
battery_low: false
|
||
event_type: battery_notes_battery_threshold
|
||
id: high
|
||
trigger: event
|
||
- actions:
|
||
- action: battery_notes.set_battery_replaced
|
||
data:
|
||
device_id: '{{ trigger.event.data.device_id }}'
|
||
source_entity_id: '{{ trigger.event.data.source_entity_id }}'
|
||
alias: Battery Replaced
|
||
conditions: []
|
||
description: Battery Replaced
|
||
id: '1731317900823'
|
||
mode: queued
|
||
triggers:
|
||
- event_type: battery_notes_battery_increased
|
||
trigger: event
|
||
- action:
|
||
- choose:
|
||
- alias: Bett Rechts An
|
||
conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bettRechtsAn
|
||
sequence:
|
||
- data: {}
|
||
service: input_boolean.turn_on
|
||
target:
|
||
entity_id: input_boolean.bett_rechts
|
||
- alias: Bett Links An
|
||
conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bettLinksAn
|
||
sequence:
|
||
- data: {}
|
||
service: input_boolean.turn_on
|
||
target:
|
||
entity_id: input_boolean.bett_links
|
||
- alias: Bett Rechts Aus
|
||
conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bettRechtsAus
|
||
sequence:
|
||
- data: {}
|
||
service: input_boolean.turn_off
|
||
target:
|
||
area_id: []
|
||
device_id: []
|
||
entity_id: input_boolean.bett_rechts
|
||
- alias: Bett Links Aus
|
||
conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bettLinksAus
|
||
sequence:
|
||
- data: {}
|
||
service: input_boolean.turn_off
|
||
target:
|
||
area_id: []
|
||
device_id: []
|
||
entity_id: input_boolean.bett_links
|
||
alias: Bett Belegung
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1702645776967'
|
||
mode: single
|
||
trigger:
|
||
- alias: Bett Rechts An
|
||
entity_id:
|
||
- binary_sensor.bett_proxy_sensor_bett_rechts
|
||
for:
|
||
hours: 0
|
||
minutes: 1
|
||
seconds: 0
|
||
from: 'off'
|
||
id: bettRechtsAn
|
||
platform: state
|
||
to: 'on'
|
||
- alias: Bett Links An
|
||
entity_id:
|
||
- binary_sensor.bett_proxy_sensor_bett_links
|
||
for:
|
||
hours: 0
|
||
minutes: 1
|
||
seconds: 0
|
||
from: 'off'
|
||
id: bettLinksAn
|
||
platform: state
|
||
to: 'on'
|
||
- alias: Bett Rechts Aus
|
||
entity_id:
|
||
- binary_sensor.bett_proxy_sensor_bett_rechts
|
||
for:
|
||
hours: 0
|
||
minutes: 1
|
||
seconds: 0
|
||
from: 'on'
|
||
id: bettRechtsAus
|
||
platform: state
|
||
to: 'off'
|
||
- alias: Bett Links Aus
|
||
entity_id:
|
||
- binary_sensor.bett_proxy_sensor_bett_links
|
||
for:
|
||
hours: 0
|
||
minutes: 1
|
||
seconds: 0
|
||
from: 'on'
|
||
id: bettLinksAus
|
||
platform: state
|
||
to: 'off'
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bkwInverterOff
|
||
sequence:
|
||
- if: []
|
||
then:
|
||
- device_id: 25e8395680cf11660d43d6d06ecb2d14
|
||
domain: switch
|
||
entity_id: c2b543703b09163eb220f8b8a0eb4830
|
||
type: turn_off
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bkwInverterOn
|
||
sequence:
|
||
- device_id: 25e8395680cf11660d43d6d06ecb2d14
|
||
domain: switch
|
||
entity_id: c2b543703b09163eb220f8b8a0eb4830
|
||
type: turn_on
|
||
alias: 'BKW: Inverter Power'
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1711970118796'
|
||
mode: single
|
||
trigger:
|
||
- at: sensor.sun_next_rising
|
||
id: bkwInverterOn
|
||
platform: time
|
||
- at: '21:30:00'
|
||
id: bkwInverterOff
|
||
platform: time
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bkwSunPower
|
||
sequence:
|
||
- action: notify.florian_notify
|
||
data:
|
||
data:
|
||
actions:
|
||
- action: IOS_BKW_WASCHMASCHINE_AN
|
||
icon: sfsymbols:power
|
||
title: Waschmaschine
|
||
- action: IOS_BKW_SPUELMASCHINE_AN
|
||
icon: sfsymbols:power
|
||
title: Spühlmaschine
|
||
- action: IOS_BKW_ALLES_AN
|
||
icon: sfsymbols:power
|
||
title: Beides
|
||
message: Du erzeugst gerade so viel Energie, du könntest doch glatt die
|
||
Waschmaschine oder die Spülmaschine laufen lassen! Soll ich die Steckdosen
|
||
einschalten? (Ignoriere die Temperatur in der Küche)
|
||
title: ☀️ Die Sonne scheint prächtig!
|
||
metadata: {}
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bkwIOSWMAn
|
||
sequence:
|
||
- device_id: 3c45a70c459e2e66b166dca5891180c6
|
||
domain: switch
|
||
entity_id: eb4d372310f986822d024a05f2007c03
|
||
type: turn_on
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bkwIOSSMAn
|
||
sequence:
|
||
- device_id: 4a05cd597a16be48ba279a90d1ba5c18
|
||
domain: switch
|
||
entity_id: 6a36fb96527589eaed3672a9978a3393
|
||
type: turn_on
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bkwIOSALLESAn
|
||
sequence:
|
||
- device_id: 4a05cd597a16be48ba279a90d1ba5c18
|
||
domain: switch
|
||
entity_id: 6a36fb96527589eaed3672a9978a3393
|
||
type: turn_on
|
||
- device_id: 3c45a70c459e2e66b166dca5891180c6
|
||
domain: switch
|
||
entity_id: eb4d372310f986822d024a05f2007c03
|
||
type: turn_on
|
||
alias: 'BKW: Maschinen laufen lassen Notification'
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.nicht_storen
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
- above: 0.3
|
||
condition: numeric_state
|
||
entity_id: sensor.people_home
|
||
description: ''
|
||
id: '1712829051695'
|
||
mode: single
|
||
triggers:
|
||
- above: 330
|
||
entity_id:
|
||
- sensor.shelly_bkw_power
|
||
for:
|
||
hours: 0
|
||
minutes: 5
|
||
seconds: 0
|
||
id: bkwSunPower
|
||
trigger: numeric_state
|
||
- event_data:
|
||
action: IOS_BKW_WASCHMASCHINE_AN
|
||
event_type: mobile_app_notification_action
|
||
id: bkwIOSWMAn
|
||
trigger: event
|
||
- event_data:
|
||
action: IOS_BKW_SPUELMASCHINE_AN
|
||
event_type: mobile_app_notification_action
|
||
id: bkwIOSSMAn
|
||
trigger: event
|
||
- event_data:
|
||
action: IOS_BKW_ALLES_AN
|
||
event_type: mobile_app_notification_action
|
||
id: bkwIOSALLESAn
|
||
trigger: event
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bkwIssueNotificationOverheating
|
||
- bkwIssueNotificationOverpowering
|
||
- bkwIssueNotificationOvervoltage
|
||
sequence:
|
||
- data:
|
||
data:
|
||
actions:
|
||
- action: SWITCH_OFF_BKW
|
||
icon: sfsymbols:line.horizontal.3.decrease.circle
|
||
title: Steckdose Abschalten
|
||
push:
|
||
sound:
|
||
critical: 1
|
||
name: default
|
||
volume: 1
|
||
message: Das BKW scheint zu überhitzen. Wie willst du vorgehen?
|
||
title: ⚠️ Probleme mit dem BKW
|
||
service: notify.home_ai
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- bkwIssueNotificationEventListener
|
||
sequence:
|
||
- device_id: 25e8395680cf11660d43d6d06ecb2d14
|
||
domain: switch
|
||
entity_id: c2b543703b09163eb220f8b8a0eb4830
|
||
type: turn_off
|
||
alias: BKW Steckdose Probleme
|
||
condition:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.nicht_storen
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1710602590906'
|
||
mode: single
|
||
trigger:
|
||
- device_id: 25e8395680cf11660d43d6d06ecb2d14
|
||
domain: binary_sensor
|
||
entity_id: f4693bd0130677bf399323ff19198c88
|
||
id: bkwIssueNotificationOverheating
|
||
platform: device
|
||
type: problem
|
||
- device_id: 25e8395680cf11660d43d6d06ecb2d14
|
||
domain: binary_sensor
|
||
entity_id: 6fa52c6272a0f11bbe8eb1e3937213d7
|
||
id: bkwIssueNotificationOverpowering
|
||
platform: device
|
||
type: problem
|
||
- device_id: 25e8395680cf11660d43d6d06ecb2d14
|
||
domain: binary_sensor
|
||
entity_id: 6b46f1be9a1f4a9af2ffe4adb2499125
|
||
id: bkwIssueNotificationOvervoltage
|
||
platform: device
|
||
type: problem
|
||
- event_data:
|
||
action: SWITCH_OFF_BKW
|
||
event_type: mobile_app_notification_action
|
||
id: bkwIssueNotificationEventListener
|
||
platform: event
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- couchFrei
|
||
sequence:
|
||
- action: media_player.media_pause
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
device_id: 67feb204d2fca3cfd31e143defa33fe5
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- couchBelegt
|
||
sequence:
|
||
- action: remote.send_command
|
||
data:
|
||
command: play
|
||
metadata: {}
|
||
target:
|
||
device_id: 67feb204d2fca3cfd31e143defa33fe5
|
||
alias: Couch
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- above: 0
|
||
condition: numeric_state
|
||
entity_id: sensor.people_home
|
||
- condition: state
|
||
entity_id: input_boolean.movietime
|
||
state: 'on'
|
||
description: ''
|
||
id: '1728905439373'
|
||
mode: single
|
||
triggers:
|
||
- device_id: 779a3e27762696ab42d6562bf3501934
|
||
domain: binary_sensor
|
||
entity_id: fc3bf20b4daf944d19c71e62a29723f8
|
||
id: couchFrei
|
||
trigger: device
|
||
type: not_occupied
|
||
- device_id: 779a3e27762696ab42d6562bf3501934
|
||
domain: binary_sensor
|
||
entity_id: fc3bf20b4daf944d19c71e62a29723f8
|
||
id: couchBelegt
|
||
trigger: device
|
||
type: occupied
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- hlkKuecheOn
|
||
sequence:
|
||
- action: media_player.volume_mute
|
||
data:
|
||
is_volume_muted: true
|
||
target:
|
||
device_id: aaa0eae9a416510075db748a0b6262dc
|
||
- action: cast.show_lovelace_view
|
||
data:
|
||
dashboard_path: dashboard-kuche
|
||
entity_id: media_player.nest_kuche
|
||
view_path: '0'
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- hlkKuecheOff
|
||
sequence:
|
||
- action: media_player.turn_off
|
||
data: {}
|
||
target:
|
||
entity_id: media_player.nest_kuche
|
||
- action: media_player.volume_mute
|
||
data:
|
||
is_volume_muted: false
|
||
target:
|
||
device_id: aaa0eae9a416510075db748a0b6262dc
|
||
alias: Dashboard Küche
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713259440389'
|
||
mode: single
|
||
triggers:
|
||
- entity_id:
|
||
- binary_sensor.hlk_ld2410_7137_anwesenheit
|
||
for:
|
||
hours: 0
|
||
minutes: 0
|
||
seconds: 2
|
||
from: 'off'
|
||
id: hlkKuecheOn
|
||
to: 'on'
|
||
trigger: state
|
||
- entity_id:
|
||
- binary_sensor.hlk_ld2410_7137_anwesenheit
|
||
for:
|
||
hours: 0
|
||
minutes: 0
|
||
seconds: 3
|
||
from: 'on'
|
||
id: hlkKuecheOff
|
||
to: 'off'
|
||
trigger: state
|
||
- actions:
|
||
- action: switch.turn_off
|
||
target:
|
||
entity_id: switch.adguard_home_filterung
|
||
alias: Disable AdGuard Filtering at Night
|
||
conditions: []
|
||
description: ''
|
||
id: '1745140263730'
|
||
triggers:
|
||
- at: '23:00:00'
|
||
trigger: time
|
||
- actions:
|
||
- action: switch.turn_on
|
||
target:
|
||
entity_id: switch.adguard_home_filterung
|
||
alias: Enable AdGuard Filtering in the Morning
|
||
conditions: []
|
||
description: ''
|
||
id: '1745140339650'
|
||
triggers:
|
||
- at: 07:00:00
|
||
trigger: time
|
||
- action:
|
||
- device_id: ecebaf73a60aa0461a4709ead7d7c698
|
||
domain: switch
|
||
entity_id: a4472801d90a581649f903138a92e29c
|
||
type: turn_on
|
||
- data: {}
|
||
metadata: {}
|
||
service: script.esphome_update_all_devices
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 10
|
||
seconds: 0
|
||
- data:
|
||
addon: 5c53de3b_esphome
|
||
service: hassio.addon_restart
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 10
|
||
seconds: 0
|
||
- device_id: ecebaf73a60aa0461a4709ead7d7c698
|
||
domain: switch
|
||
entity_id: a4472801d90a581649f903138a92e29c
|
||
type: turn_off
|
||
alias: ESPHome Auto-Update
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713785658342'
|
||
mode: single
|
||
trigger:
|
||
- platform: template
|
||
value_template: '{{ integration_entities(''esphome'') | select(''match'', ''^update.'')
|
||
| select(''is_state'', ''on'') | list | count > 0 }}'
|
||
- actions:
|
||
- continue_on_timeout: false
|
||
wait_template: "{% set fenster = [\n 'binary_sensor.eve_contact_schlafzimmer_fenster_rechts',\n\
|
||
\ 'binary_sensor.aqara_contact_balkontur_contact'\n ]\
|
||
\ %}\n {% if fenster | select('is_state', 'on') | list | count > 0\
|
||
\ %}\n true\n {% else %}\n false\n {%\
|
||
\ endif %}"
|
||
- if:
|
||
- condition: state
|
||
entity_id: input_boolean.nicht_storen
|
||
state: 'off'
|
||
then:
|
||
- action: notify.home_ai
|
||
data:
|
||
message: Es sieht so aus, als wären noch eines oder mehrere Fenster offen.
|
||
Prüfe doch mal nach, welche das sein könnten und schließe sie gegebenenfalls
|
||
bevor du gehst.
|
||
title: Es sind noch Fenster offen
|
||
metadata: {}
|
||
- action: notify.alexa_media_echo_flur
|
||
data:
|
||
message: Es sieht so aus, als wären noch eines oder mehrere Fenster offen. Prüfe
|
||
doch mal nach, welche das sein könnten und schließe sie gegebenenfalls bevor
|
||
du gehst.
|
||
enabled: false
|
||
metadata: {}
|
||
alias: Fenster Offen Check
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.urlaubsmodus
|
||
state: 'on'
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713181882652'
|
||
mode: single
|
||
triggers:
|
||
- device_id: 67bc89621a1ceb0aced67ad07618a34b
|
||
domain: hue
|
||
subtype: 2
|
||
trigger: device
|
||
type: short_release
|
||
unique_id: 8d3f7a5f-3828-4f9f-96c9-fcc402888bfc
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- windowOpenOn
|
||
sequence:
|
||
- data: {}
|
||
metadata: {}
|
||
service: input_boolean.turn_on
|
||
target:
|
||
entity_id: input_boolean.windows_open
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- windowOpenOff
|
||
sequence:
|
||
- data: {}
|
||
service: input_boolean.turn_off
|
||
target:
|
||
entity_id:
|
||
- input_boolean.windows_open
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- doorOpenOn
|
||
sequence:
|
||
- data: {}
|
||
metadata: {}
|
||
service: input_boolean.turn_on
|
||
target:
|
||
entity_id: input_boolean.doors_open
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- doorOpenOff
|
||
sequence:
|
||
- data: {}
|
||
service: input_boolean.turn_off
|
||
target:
|
||
entity_id: input_boolean.doors_open
|
||
alias: Fenster und Türen Alert
|
||
condition:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
- below: 1
|
||
condition: numeric_state
|
||
entity_id: sensor.people_home
|
||
- condition: state
|
||
entity_id: input_boolean.nicht_storen
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713180340302'
|
||
mode: single
|
||
trigger:
|
||
- entity_id:
|
||
- binary_sensor.aqara_contact_balkontur_contact
|
||
- binary_sensor.eve_contact_schlafzimmer_fenster_rechts
|
||
from: 'off'
|
||
id: windowOpenOn
|
||
platform: state
|
||
to: 'on'
|
||
- entity_id:
|
||
- binary_sensor.aqara_contact_balkontur_contact
|
||
- binary_sensor.eve_contact_schlafzimmer_fenster_rechts
|
||
from: 'on'
|
||
id: windowOpenOff
|
||
platform: state
|
||
to: 'off'
|
||
- entity_id:
|
||
- binary_sensor.aqara_contact_badezimmer_contact
|
||
- binary_sensor.aqara_contact_kinderzimmer_contact
|
||
- binary_sensor.aqara_contact_schlafzimmer_contact
|
||
- binary_sensor.aqara_contact_wohnungstur_contact
|
||
- binary_sensor.aqara_contact_wohnzimmer_contact
|
||
from: 'off'
|
||
id: doorOpenOn
|
||
platform: state
|
||
to: 'on'
|
||
- entity_id:
|
||
- binary_sensor.aqara_contact_badezimmer_contact
|
||
- binary_sensor.aqara_contact_kinderzimmer_contact
|
||
- binary_sensor.aqara_contact_schlafzimmer_contact
|
||
- binary_sensor.aqara_contact_wohnungstur_contact
|
||
- binary_sensor.aqara_contact_wohnzimmer_contact
|
||
from: 'on'
|
||
id: doorOpenOff
|
||
platform: state
|
||
to: 'off'
|
||
- actions:
|
||
- action: light.turn_on
|
||
data:
|
||
brightness_pct: 60
|
||
transition: 1
|
||
target:
|
||
entity_id: light.lightener_flur
|
||
- continue_on_timeout: true
|
||
timeout: 00:05:00
|
||
wait_for_trigger:
|
||
- entity_id: binary_sensor.hlk_flur_belegung
|
||
from: 'on'
|
||
to: 'off'
|
||
trigger: state
|
||
- action: light.turn_off
|
||
data:
|
||
transition: 2
|
||
target:
|
||
entity_id: light.lightener_flur
|
||
alias: 'Flur: Licht an wenn Tür auf'
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- after: sunset
|
||
after_offset: +01:00:00
|
||
before: sunrise
|
||
condition: sun
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
- below: 10
|
||
condition: numeric_state
|
||
entity_id: sensor.awtrix_ed6030_illuminance
|
||
description: Automatisches Flur-Licht bei Türöffnung während Dunkelheit mit Auto-Aus
|
||
Timer
|
||
id: '1669632865548'
|
||
mode: single
|
||
triggers:
|
||
- entity_id: binary_sensor.aqara_contact_wohnungstur_contact
|
||
for:
|
||
seconds: 1
|
||
from: 'off'
|
||
to: 'on'
|
||
trigger: state
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- alleHeizungenAus
|
||
sequence:
|
||
- if:
|
||
- condition: or
|
||
conditions:
|
||
- condition: state
|
||
entity_id: climate.heizung_badezimmer
|
||
state: heat
|
||
- condition: state
|
||
entity_id: climate.heizung_wohnzimmer
|
||
state: heat
|
||
- condition: state
|
||
entity_id: climate.heizung_schlafzimmer
|
||
state: heat
|
||
- condition: state
|
||
entity_id: climate.heizung_buro
|
||
state: heat
|
||
then:
|
||
- data:
|
||
hvac_mode: 'off'
|
||
service: climate.set_hvac_mode
|
||
target:
|
||
device_id:
|
||
- 90ee15e301be363c6e674cb006400119
|
||
- afd3d4982d793f98224ce76064298198
|
||
- a71ccaedb801d2e7e89232f60fea1706
|
||
- 5106942131c1dfe9055cba838a26b47b
|
||
- data:
|
||
message: Alle Heizungen wurden erfolgreich ausgeschaltet.
|
||
title: ℹ️ Alle Heizungen ausgeschaltet
|
||
service: notify.home_ai
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- alleHeizungenAn
|
||
sequence:
|
||
- if: []
|
||
then:
|
||
- data:
|
||
hvac_mode: heat
|
||
service: climate.set_hvac_mode
|
||
- data:
|
||
message: Alle Heizungen wurden erfolgreich eingeschaltet.
|
||
title: ℹ️ Alle Heizungen eingeschaltet
|
||
service: notify.home_ai
|
||
alias: Heizung Toggle
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1701773191392'
|
||
mode: single
|
||
trigger:
|
||
- entity_id:
|
||
- input_boolean.heizung_toggle
|
||
from: 'on'
|
||
id: alleHeizungenAus
|
||
platform: state
|
||
to: 'off'
|
||
- entity_id:
|
||
- input_boolean.heizung_toggle
|
||
from: 'off'
|
||
id: alleHeizungenAn
|
||
platform: state
|
||
to: 'on'
|
||
- action:
|
||
- parallel:
|
||
- data: {}
|
||
service: light.turn_off
|
||
target:
|
||
device_id:
|
||
- 916ac0645e12fe77d93d9731956888e4
|
||
- 8d09b3d2460d7b46609a435e034c3a59
|
||
- 1e74380a353e5af91767df2483e266fe
|
||
- 3d2124b0362a0b5d69b4f905ec8a36c5
|
||
- f1b7043426d3c3b2f515c4c34a06a317
|
||
- 39b956e7b743a4c9e1809961d0342e07
|
||
- 0659143f2b330e1bc3ac9e03bc644351
|
||
- 171cf6e6bd2c823a2a91c916b23b3e25
|
||
- d181c5b405f8f05347e2d47b973e6f11
|
||
- data: {}
|
||
service: switch.turn_off
|
||
target:
|
||
entity_id: switch.sync_box_light_sync
|
||
alias: Hue Sync Aus
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713900000210'
|
||
mode: single
|
||
trigger:
|
||
- device_id: 67feb204d2fca3cfd31e143defa33fe5
|
||
domain: media_player
|
||
entity_id: 65eb5f3b6dea80977e4668301f1db147
|
||
platform: device
|
||
type: turned_off
|
||
- device_id: d30e5e22fdee4494285af01c47713091
|
||
domain: switch
|
||
entity_id: 05785b4428b8cdd9ff015195221899c8
|
||
platform: device
|
||
type: turned_off
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- kaffeemaschineOn
|
||
sequence:
|
||
- device_id: 7641a6d433b2e26a0c7d94ad413df030
|
||
domain: switch
|
||
entity_id: ea900cc1cb4a987a44c517bbb1816c5c
|
||
type: turn_on
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- kaffeemaschineOff
|
||
sequence:
|
||
- device_id: 7641a6d433b2e26a0c7d94ad413df030
|
||
domain: switch
|
||
entity_id: ea900cc1cb4a987a44c517bbb1816c5c
|
||
type: turn_off
|
||
alias: Kaffeemaschine
|
||
condition:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: sensor.people_home
|
||
state: '1'
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: Fü vier Stunden
|
||
id: '1674670778068'
|
||
mode: single
|
||
trigger:
|
||
- at: 07:30:00
|
||
id: kaffeemaschineOn
|
||
platform: time
|
||
- at: '11:30:00'
|
||
id: kaffeemaschineOff
|
||
platform: time
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- kloAn
|
||
sequence:
|
||
- data: {}
|
||
metadata: {}
|
||
service: input_boolean.turn_on
|
||
target:
|
||
entity_id: input_boolean.klo_besetzt
|
||
- data: {}
|
||
metadata: {}
|
||
service: counter.increment
|
||
target:
|
||
entity_id: counter.toiletten_sitzungen
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- kloAus
|
||
sequence:
|
||
- data: {}
|
||
metadata: {}
|
||
service: input_boolean.turn_off
|
||
target:
|
||
entity_id: input_boolean.klo_besetzt
|
||
alias: Klo Besetzt
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1718565264616'
|
||
mode: single
|
||
trigger:
|
||
- below: -5
|
||
entity_id:
|
||
- sensor.aqara_vibrate_katzenklo_angle_y
|
||
id: kloAn
|
||
platform: numeric_state
|
||
- above: -5
|
||
entity_id:
|
||
- sensor.aqara_vibrate_katzenklo_angle_y
|
||
id: kloAus
|
||
platform: numeric_state
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: or
|
||
conditions:
|
||
- condition: trigger
|
||
id: kochenStart
|
||
- condition: trigger
|
||
id: kochenDetected
|
||
- condition: trigger
|
||
id: kucheOccupied
|
||
sequence:
|
||
- action: light.turn_on
|
||
data:
|
||
brightness_pct: 90
|
||
color_temp_kelvin: 4000
|
||
transition: 2
|
||
target:
|
||
entity_id: light.lightener_kuche
|
||
- action: climate.set_fan_mode
|
||
continue_on_error: true
|
||
data:
|
||
fan_mode: high
|
||
target:
|
||
entity_id: climate.luftreiniger_wohnzimmer
|
||
- action: notify.alexa_media_echo_show_wohnzimmer
|
||
data:
|
||
data:
|
||
type: tts
|
||
message: Küchenbeleuchtung und Belüftung wurden für das Kochen optimiert
|
||
alias: 'Küche: Intelligente Kochassistenz'
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: Automatische Beleuchtung und Ventilation beim Kochen basierend auf
|
||
Kühlschrank-Nutzung
|
||
id: '1739974700001'
|
||
mode: restart
|
||
triggers:
|
||
- entity_id: binary_sensor.aqara_contact_kuhlschrank_contact
|
||
from: 'off'
|
||
id: kochenStart
|
||
to: 'on'
|
||
trigger: state
|
||
- entity_id: binary_sensor.kochen
|
||
from: 'off'
|
||
id: kochenDetected
|
||
to: 'on'
|
||
trigger: state
|
||
- entity_id:
|
||
- binary_sensor.hlk_ld2410_7137_anwesenheit
|
||
for:
|
||
seconds: 30
|
||
from: 'off'
|
||
id: kucheOccupied
|
||
to: 'on'
|
||
trigger: state
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- washingMachineOffAfterTime
|
||
sequence:
|
||
- device_id: 3c45a70c459e2e66b166dca5891180c6
|
||
domain: switch
|
||
entity_id: eb4d372310f986822d024a05f2007c03
|
||
type: turn_off
|
||
- action: notify.florian_notify
|
||
data:
|
||
message: Die Wäsche ist fertig.
|
||
title: 🧺 Wäsche ist fertig
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- dishWasherOffAfterTime
|
||
sequence:
|
||
- device_id: 4a05cd597a16be48ba279a90d1ba5c18
|
||
domain: switch
|
||
entity_id: 6a36fb96527589eaed3672a9978a3393
|
||
type: turn_off
|
||
- action: notify.florian_notify
|
||
data:
|
||
message: Spülmaschine ist fertig.
|
||
title: 🍽️ Geschirr ist sauber
|
||
alias: Küche Steckdosen Power Management
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1711970540815'
|
||
mode: single
|
||
triggers:
|
||
- entity_id:
|
||
- sensor.steckdose_waschmaschine_energy_power
|
||
for:
|
||
hours: 0
|
||
minutes: 2
|
||
seconds: 0
|
||
from: null
|
||
id: washingMachineOffAfterTime
|
||
to: '0'
|
||
trigger: state
|
||
- entity_id:
|
||
- sensor.steckdose_spuhlmaschine_energy_power
|
||
for:
|
||
hours: 0
|
||
minutes: 2
|
||
seconds: 0
|
||
from: null
|
||
id: dishWasherOffAfterTime
|
||
to: '0'
|
||
trigger: state
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- buroWaveOn
|
||
sequence:
|
||
- action: light.turn_on
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
device_id: 974ca6245b3f8c8fbd28620c1275ef85
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- buroWaveOff
|
||
sequence:
|
||
- action: light.turn_off
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
device_id: 974ca6245b3f8c8fbd28620c1275ef85
|
||
alias: Licht Büro An/Aus
|
||
conditions:
|
||
- below: 30
|
||
condition: numeric_state
|
||
entity_id: sensor.mi_light_sensor_kuche_illuminance
|
||
description: ''
|
||
id: '1739922705305'
|
||
mode: single
|
||
triggers:
|
||
- device_id: 4c197550e4dbe59f91927b89f482e4d4
|
||
domain: binary_sensor
|
||
entity_id: 626bf75a2265e9e869c442cd8b9e083c
|
||
id: buroWaveOn
|
||
metadata:
|
||
secondary: false
|
||
trigger: device
|
||
type: motion
|
||
- device_id: 4c197550e4dbe59f91927b89f482e4d4
|
||
domain: binary_sensor
|
||
entity_id: 626bf75a2265e9e869c442cd8b9e083c
|
||
for:
|
||
hours: 0
|
||
minutes: 0
|
||
seconds: 10
|
||
id: buroWaveOff
|
||
trigger: device
|
||
type: no_motion
|
||
- actions:
|
||
- action: chime_tts.say
|
||
data:
|
||
chime_path: error
|
||
message: Die Luftfeuchtigkeit im Badezimmer liegt bei über 65 Prozent. Vielleicht
|
||
solltest du mal das Fenster öffnen..
|
||
metadata: {}
|
||
target:
|
||
device_id: 60bb8c68f9bfd9f765c17ecc133f0034
|
||
alias: Luftfeuchtigkeit Badezimmer Notification
|
||
conditions: []
|
||
description: ''
|
||
id: '1747657519437'
|
||
mode: single
|
||
triggers:
|
||
- above: 65
|
||
entity_id:
|
||
- sensor.aqara_thermo_badezimmer_humidity
|
||
trigger: numeric_state
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- wohnzimmerAQIBad
|
||
sequence:
|
||
- action: climate.set_fan_mode
|
||
data:
|
||
fan_mode: high
|
||
target:
|
||
entity_id: climate.luftreiniger_schlafzimmer
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 15
|
||
seconds: 0
|
||
- action: climate.set_fan_mode
|
||
data:
|
||
fan_mode: low
|
||
target:
|
||
entity_id:
|
||
- climate.luftreiniger_schlafzimmer
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- wohnzimmerAQIModerate
|
||
sequence:
|
||
- action: climate.set_fan_mode
|
||
data:
|
||
fan_mode: high
|
||
target:
|
||
entity_id: climate.luftreiniger_schlafzimmer
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 10
|
||
seconds: 0
|
||
- action: climate.set_fan_mode
|
||
data:
|
||
fan_mode: low
|
||
target:
|
||
entity_id:
|
||
- climate.luftreiniger_schlafzimmer
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- schlafzimmerAQIBad
|
||
sequence:
|
||
- action: climate.set_fan_mode
|
||
data:
|
||
fan_mode: high
|
||
target:
|
||
entity_id:
|
||
- climate.luftreiniger_wohnzimmer
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 10
|
||
seconds: 0
|
||
- action: climate.set_fan_mode
|
||
data:
|
||
fan_mode: low
|
||
target:
|
||
entity_id:
|
||
- climate.luftreiniger_wohnzimmer
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- schlafzimmerAQIModerate
|
||
sequence:
|
||
- action: climate.set_fan_mode
|
||
data:
|
||
fan_mode: high
|
||
target:
|
||
entity_id:
|
||
- climate.luftreiniger_wohnzimmer
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 10
|
||
seconds: 0
|
||
- action: climate.set_fan_mode
|
||
data:
|
||
fan_mode: low
|
||
target:
|
||
entity_id:
|
||
- climate.luftreiniger_wohnzimmer
|
||
alias: Luftreiniger nach Qualität
|
||
condition:
|
||
- after: 08:00:00
|
||
before: '21:00:00'
|
||
condition: time
|
||
weekday:
|
||
- mon
|
||
- tue
|
||
- wed
|
||
- thu
|
||
- fri
|
||
- sat
|
||
- sun
|
||
description: ''
|
||
id: '1726392490651'
|
||
mode: single
|
||
trigger:
|
||
- entity_id:
|
||
- sensor.luftreiniger_wohnzimmer_pm2_5
|
||
id: wohnzimmerAQIBad
|
||
platform: state
|
||
to: bad
|
||
- entity_id:
|
||
- sensor.luftreiniger_wohnzimmer_pm2_5
|
||
id: wohnzimmerAQIModerate
|
||
platform: state
|
||
to: moderate
|
||
- entity_id:
|
||
- sensor.luftreiniger_schlafzimmer_pm2_5
|
||
id: schlafzimmerAQIBad
|
||
platform: state
|
||
to: bad
|
||
- entity_id:
|
||
- sensor.luftreiniger_schlafzimmer_pm2_5
|
||
id: schlafzimmerAQIModerate
|
||
platform: state
|
||
to: moderate
|
||
- actions:
|
||
- if:
|
||
- after: sunset
|
||
after_offset: '1'
|
||
before: sunrise
|
||
before_offset: '1'
|
||
condition: sun
|
||
then:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- badezimmerOn
|
||
sequence:
|
||
- action: light.turn_on
|
||
data:
|
||
brightness_pct: 30
|
||
target:
|
||
entity_id: light.decke_badezimmer
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- badezimmerOff
|
||
sequence:
|
||
- action: input_boolean.turn_off
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_boolean.klo_besetzt
|
||
- if:
|
||
- condition: and
|
||
conditions:
|
||
- condition: or
|
||
conditions:
|
||
- after: sunset
|
||
after_offset: '1'
|
||
before: sunrise
|
||
condition: sun
|
||
enabled: true
|
||
- condition: state
|
||
enabled: false
|
||
entity_id: input_boolean.guestmode
|
||
state: 'off'
|
||
then:
|
||
- action: light.turn_off
|
||
data: {}
|
||
target:
|
||
device_id: 6e5322a0a9b03a5d8858879bbead49bf
|
||
alias: Nachtlicht Badezimmer
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1691786451171'
|
||
mode: single
|
||
triggers:
|
||
- entity_id:
|
||
- binary_sensor.mmwave_badezimmer
|
||
for:
|
||
hours: 0
|
||
minutes: 0
|
||
seconds: 2
|
||
id: badezimmerOn
|
||
to: 'on'
|
||
trigger: state
|
||
- entity_id:
|
||
- binary_sensor.mmwave_badezimmer
|
||
for:
|
||
hours: 0
|
||
minutes: 0
|
||
seconds: 5
|
||
id: badezimmerOff
|
||
to: 'off'
|
||
trigger: state
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- flurOn
|
||
sequence:
|
||
- brightness_pct: 30
|
||
device_id: 1e56c698587f52128871b8ba472cfc47
|
||
domain: light
|
||
entity_id: 2c70b1a119850621e0cd9a85759fca40
|
||
type: turn_on
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- flurOff
|
||
sequence:
|
||
- device_id: 1e56c698587f52128871b8ba472cfc47
|
||
domain: light
|
||
entity_id: 2c70b1a119850621e0cd9a85759fca40
|
||
type: turn_off
|
||
alias: Nachtlicht Flur
|
||
condition:
|
||
- condition: and
|
||
conditions:
|
||
- after: sunset
|
||
after_offset: '1'
|
||
before: sunrise
|
||
before_offset: '1'
|
||
condition: sun
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: 20%
|
||
id: '1691358813636'
|
||
mode: single
|
||
trigger:
|
||
- entity_id:
|
||
- binary_sensor.hlk_flur_belegung
|
||
id: flurOn
|
||
platform: state
|
||
to: 'on'
|
||
- entity_id:
|
||
- binary_sensor.hlk_flur_belegung
|
||
from: 'on'
|
||
id: flurOff
|
||
platform: state
|
||
to: 'off'
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id: kucheOn
|
||
- condition: state
|
||
entity_id: light.lightener_kuche
|
||
state: 'off'
|
||
sequence:
|
||
- action: light.turn_on
|
||
data:
|
||
brightness_pct: 30
|
||
transition: 2
|
||
target:
|
||
entity_id: light.lightener_kuche
|
||
- conditions:
|
||
- condition: trigger
|
||
id: kucheOff
|
||
- condition: state
|
||
entity_id: light.lightener_kuche
|
||
state: 'on'
|
||
sequence:
|
||
- action: light.turn_off
|
||
data:
|
||
transition: 3
|
||
target:
|
||
entity_id: light.lightener_kuche
|
||
alias: Nachtlicht Küche
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- after: sunset
|
||
after_offset: +01:00:00
|
||
before: sunrise
|
||
before_offset: -01:00:00
|
||
condition: sun
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: Intelligente Küchenbeleuchtung basierend auf Anwesenheit und Tageszeit
|
||
id: '1691151128778'
|
||
mode: single
|
||
triggers:
|
||
- entity_id: binary_sensor.hlk_ld2410_7137_anwesenheit
|
||
for:
|
||
seconds: 2
|
||
from: 'off'
|
||
id: kucheOn
|
||
to: 'on'
|
||
trigger: state
|
||
- entity_id: binary_sensor.hlk_ld2410_7137_anwesenheit
|
||
for:
|
||
seconds: 30
|
||
from: 'on'
|
||
id: kucheOff
|
||
to: 'off'
|
||
trigger: state
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- presenceOn
|
||
sequence:
|
||
- action: light.turn_on
|
||
data:
|
||
brightness_pct: 20
|
||
metadata: {}
|
||
target:
|
||
entity_id: light.tv_bank
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- presenceOff
|
||
sequence:
|
||
- action: light.turn_off
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: light.tv_bank
|
||
alias: Nachtlicht Wohnzimmer
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.night_mode
|
||
state: 'on'
|
||
description: ''
|
||
id: '1745357440159'
|
||
mode: single
|
||
triggers:
|
||
- entity_id:
|
||
- binary_sensor.presence_wohnzimmer_allgemein
|
||
from: 'off'
|
||
id: presenceOn
|
||
to: 'on'
|
||
trigger: state
|
||
- entity_id:
|
||
- binary_sensor.presence_wohnzimmer_allgemein
|
||
for:
|
||
hours: 0
|
||
minutes: 0
|
||
seconds: 5
|
||
from: 'on'
|
||
id: presenceOff
|
||
to: 'off'
|
||
trigger: state
|
||
- action:
|
||
- data:
|
||
message: 'Home Assistant hat ein neues Gerät gefunden: {{trigger.event.data.entity_id}}'
|
||
title: Neues Gerät gefunden
|
||
service: notify.home_ai
|
||
alias: Neues Gerät gefunden (Notification)
|
||
condition:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.nicht_storen
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1712905210678'
|
||
mode: single
|
||
trigger:
|
||
- event_type: device_tracker_new_device
|
||
platform: event
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- sunOff
|
||
sequence:
|
||
- action: input_boolean.turn_on
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_boolean.night_mode
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- sunOn
|
||
sequence:
|
||
- action: input_boolean.turn_off
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_boolean.night_mode
|
||
alias: Nightmode Toggle
|
||
conditions: []
|
||
description: ''
|
||
id: '1745356989733'
|
||
mode: single
|
||
triggers:
|
||
- event: sunset
|
||
id: sunOff
|
||
offset: '1'
|
||
trigger: sun
|
||
- event: sunrise
|
||
id: sunOn
|
||
offset: 0
|
||
trigger: sun
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- iphoneBatteryLowOn
|
||
sequence:
|
||
- action: switch.turn_on
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: switch.nuki_haustur_continuous_mode
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- iphoneBatteryLowOff
|
||
sequence:
|
||
- action: switch.turn_off
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: switch.nuki_haustur_continuous_mode
|
||
alias: Nuki Auto-Unlock iPhone Battery Low
|
||
conditions: []
|
||
description: ''
|
||
id: '1747658887532'
|
||
mode: single
|
||
triggers:
|
||
- entity_id:
|
||
- binary_sensor.iphone_von_florian_battery_plus_low
|
||
for:
|
||
hours: 0
|
||
minutes: 5
|
||
seconds: 0
|
||
from: 'off'
|
||
id: iphoneBatteryLowOn
|
||
to: 'on'
|
||
trigger: state
|
||
- entity_id:
|
||
- sensor.iphone_von_florian_battery_plus
|
||
from: 'on'
|
||
id: iphoneBatteryLowOff
|
||
to: 'off'
|
||
trigger: state
|
||
- action:
|
||
- data: {}
|
||
service: homeassistant.update_entity
|
||
target:
|
||
entity_id:
|
||
- binary_sensor.openuv_schutzfenster
|
||
- sensor.openuv_aktueller_uv_index
|
||
- sensor.openuv_aktueller_uv_wert
|
||
alias: 'OpenUV: Reload'
|
||
condition:
|
||
- condition: and
|
||
conditions:
|
||
- after: sunrise
|
||
before: sunset
|
||
condition: sun
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1716151253982'
|
||
mode: single
|
||
trigger:
|
||
- hours: /12
|
||
platform: time_pattern
|
||
- action:
|
||
- data: {}
|
||
service: person.reload
|
||
alias: 'Person: Reload'
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713949268424'
|
||
mode: single
|
||
trigger:
|
||
- minutes: /2
|
||
platform: time_pattern
|
||
- actions:
|
||
- action: conversation.process
|
||
data:
|
||
agent_id: conversation.chatgpt_assist
|
||
language: german
|
||
text: 'Briefly tell me that my {{ trigger.event.data.service_data.message }}.
|
||
Always make sure that the message fits into 2 sentences.
|
||
|
||
'
|
||
metadata: {}
|
||
response_variable: generated_response
|
||
- else:
|
||
- action: notify.florian_notify
|
||
data:
|
||
message: '{{ generated_response.response.speech.plain.speech }}'
|
||
title: '{{ trigger.event.data.service_data.title }}'
|
||
metadata: {}
|
||
if:
|
||
- condition: template
|
||
value_template: '{{ trigger.event.data.service_data.data.actions != null }}'
|
||
then:
|
||
- action: notify.florian_notify
|
||
data:
|
||
data:
|
||
actions: '{{ trigger.event.data.service_data.data.actions }}'
|
||
message: '{{ generated_response.response.speech.plain.speech }}'
|
||
title: '{{ trigger.event.data.service_data.title }}'
|
||
metadata: {}
|
||
alias: Process and Notify
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1718614598599'
|
||
mode: single
|
||
triggers:
|
||
- event_data:
|
||
domain: notify
|
||
service: home_ai
|
||
event_type: call_service
|
||
trigger: event
|
||
- action:
|
||
- data: {}
|
||
service: hassio.host_reboot
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 10
|
||
seconds: 0
|
||
- data: {}
|
||
service: homeassistant.reload_all
|
||
alias: Restart Nightly
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1719501882967'
|
||
mode: single
|
||
trigger:
|
||
- at: 04:00:00
|
||
platform: time
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- tooHotBalconyOn
|
||
sequence:
|
||
- data: {}
|
||
service: cover.close_cover
|
||
target:
|
||
entity_id:
|
||
- cover.rollos_schlafzimmer
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- tooHotBalconyOff
|
||
sequence:
|
||
- data: {}
|
||
service: input_boolean.turn_off
|
||
target:
|
||
entity_id:
|
||
- input_boolean.zu_warm
|
||
- data: {}
|
||
service: cover.open_cover
|
||
target:
|
||
entity_id:
|
||
- cover.rollos_schlafzimmer
|
||
alias: Rollos runter wenn 26 Grad auf Balkon
|
||
condition:
|
||
- condition: and
|
||
conditions:
|
||
- after: 09:00:00
|
||
before: '21:00:00'
|
||
condition: time
|
||
weekday:
|
||
- mon
|
||
- tue
|
||
- wed
|
||
- thu
|
||
- fri
|
||
- sat
|
||
- sun
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1686661353814'
|
||
mode: single
|
||
trigger:
|
||
- above: 26
|
||
entity_id:
|
||
- sensor.balkon_temperature
|
||
id: tooHotBalconyOn
|
||
platform: numeric_state
|
||
- below: 23
|
||
entity_id:
|
||
- sensor.balkon_temperature
|
||
id: tooHotBalconyOff
|
||
platform: numeric_state
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- coverCloseSchlafzimmer
|
||
sequence:
|
||
- action: cover.close_cover
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: cover.rollos_schlafzimmer
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- coverOpenSchlafzimmer
|
||
sequence:
|
||
- action: cover.open_cover
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: cover.rollos_schlafzimmer
|
||
alias: Rollos Schlafzimmer
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.manuell
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.rollos_schlafzimmer
|
||
state: 'off'
|
||
- condition: time
|
||
weekday:
|
||
- fri
|
||
- thu
|
||
- wed
|
||
- tue
|
||
- mon
|
||
description: ''
|
||
id: '1729247777105'
|
||
mode: single
|
||
triggers:
|
||
- at: '21:00:00'
|
||
id: coverCloseSchlafzimmer
|
||
trigger: time
|
||
- at: 08:30:00
|
||
id: coverOpenSchlafzimmer
|
||
trigger: time
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id: wohnzimmerRollosOn
|
||
- condition: or
|
||
conditions:
|
||
- condition: state
|
||
entity_id: cover.ikea_rollo_links_wohnzimmer
|
||
state: open
|
||
- condition: state
|
||
entity_id: cover.ikea_rollo_rechts_wohnzimmer
|
||
state: open
|
||
sequence:
|
||
- action: notify.alexa_media_echo_show_wohnzimmer
|
||
data:
|
||
message: Rollos werden aufgrund der Helligkeit geschlossen
|
||
- action: cover.close_cover
|
||
target:
|
||
entity_id:
|
||
- cover.ikea_rollo_links_wohnzimmer
|
||
- cover.ikea_rollo_rechts_wohnzimmer
|
||
- conditions:
|
||
- condition: trigger
|
||
id: wohnzimmerRollosOff
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: cover.ikea_rollo_links_wohnzimmer
|
||
state: closed
|
||
- condition: state
|
||
entity_id: cover.ikea_rollo_rechts_wohnzimmer
|
||
state: closed
|
||
sequence:
|
||
- action: cover.open_cover
|
||
target:
|
||
entity_id:
|
||
- cover.ikea_rollo_links_wohnzimmer
|
||
- cover.ikea_rollo_rechts_wohnzimmer
|
||
alias: Rollos schließen wenn zu hell
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.zu_warm
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.guestmode
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.rollos_wohnzimmer
|
||
state: 'off'
|
||
- after: 06:00:00
|
||
before: '22:00:00'
|
||
condition: time
|
||
- condition: state
|
||
entity_id: binary_sensor.workday_sensor
|
||
state: 'on'
|
||
description: Intelligente Rollosteuerung basierend auf Lichstärke mit Zeitverzögerung
|
||
und mehreren Sicherheitsbedingungen
|
||
id: '1691320563612'
|
||
mode: single
|
||
triggers:
|
||
- above: 15000
|
||
entity_id: sensor.awtrix_ed6030_illuminance
|
||
for:
|
||
minutes: 10
|
||
id: wohnzimmerRollosOn
|
||
trigger: numeric_state
|
||
- below: 1000
|
||
entity_id: sensor.awtrix_ed6030_illuminance
|
||
for:
|
||
minutes: 15
|
||
id: wohnzimmerRollosOff
|
||
trigger: numeric_state
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- wohnzimmerHellAn
|
||
sequence:
|
||
- action: cover.close_cover
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: cover.rollos_wohnzimmer_fensterbank
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- wohnzimmerHellAus
|
||
sequence:
|
||
- action: cover.open_cover
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: cover.rollos_wohnzimmer_fensterbank
|
||
alias: Rollos Wohnzimmer
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.manuell
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.rollos_wohnzimmer
|
||
state: 'on'
|
||
- above: 0
|
||
condition: numeric_state
|
||
entity_id: sensor.people_home
|
||
description: ''
|
||
id: '1740091713939'
|
||
mode: single
|
||
triggers:
|
||
- above: 1000
|
||
entity_id:
|
||
- sensor.mi_light_sensor_wohnzimmer_illuminance
|
||
for:
|
||
hours: 0
|
||
minutes: 3
|
||
seconds: 0
|
||
id: wohnzimmerHellAn
|
||
trigger: numeric_state
|
||
- below: 300
|
||
entity_id:
|
||
- sensor.mi_light_sensor_wohnzimmer_illuminance
|
||
for:
|
||
hours: 0
|
||
minutes: 5
|
||
seconds: 0
|
||
id: wohnzimmerHellAus
|
||
trigger: numeric_state
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- coverKucheClose
|
||
sequence:
|
||
- data: {}
|
||
service: cover.close_cover
|
||
target:
|
||
entity_id: cover.aqara_rollo_kuche
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- coverKucheOpen
|
||
sequence:
|
||
- data: {}
|
||
service: cover.open_cover
|
||
target:
|
||
entity_id: cover.aqara_rollo_kuche
|
||
alias: Rollo Küche
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1693489965780'
|
||
mode: single
|
||
trigger:
|
||
- event: sunset
|
||
id: coverKucheClose
|
||
offset: '1'
|
||
platform: sun
|
||
- event: sunrise
|
||
id: coverKucheOpen
|
||
offset: '1'
|
||
platform: sun
|
||
- actions:
|
||
- action: readme.generate
|
||
data: {}
|
||
- action: shell_command.run_chores
|
||
data: {}
|
||
alias: Run Chores
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713209575955'
|
||
mode: single
|
||
triggers:
|
||
- minutes: /10
|
||
trigger: time_pattern
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- schalterFlurAn
|
||
sequence:
|
||
- device_id: 4b04528f90d6106276926f279e2d4cb6
|
||
domain: light
|
||
entity_id: 95eab0e0f096de60d69cc6204752c455
|
||
type: turn_on
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- schalterFlurAus
|
||
sequence:
|
||
- device_id: 4b04528f90d6106276926f279e2d4cb6
|
||
domain: light
|
||
entity_id: 95eab0e0f096de60d69cc6204752c455
|
||
type: turn_off
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- deckeFlurAus
|
||
sequence:
|
||
- data: {}
|
||
service: switch.turn_off
|
||
target:
|
||
entity_id:
|
||
- switch.flur_schalter_decke
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- deckeFlurAn
|
||
sequence:
|
||
- data: {}
|
||
service: switch.turn_on
|
||
target:
|
||
entity_id:
|
||
- switch.flur_schalter_decke
|
||
alias: Schalter Flur Deckenlicht
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713448133488'
|
||
mode: single
|
||
trigger:
|
||
- device_id: 0bd3a8ef3dbdde3611e8f7f2b0d33f35
|
||
domain: switch
|
||
entity_id: e121bb409464ba167ad31f9375490156
|
||
id: schalterFlurAn
|
||
platform: device
|
||
type: turned_on
|
||
- device_id: 0bd3a8ef3dbdde3611e8f7f2b0d33f35
|
||
domain: switch
|
||
entity_id: e121bb409464ba167ad31f9375490156
|
||
id: schalterFlurAus
|
||
platform: device
|
||
type: turned_off
|
||
- device_id: 4b04528f90d6106276926f279e2d4cb6
|
||
domain: light
|
||
entity_id: 95eab0e0f096de60d69cc6204752c455
|
||
id: deckeFlurAus
|
||
platform: device
|
||
type: turned_off
|
||
- device_id: 4b04528f90d6106276926f279e2d4cb6
|
||
domain: light
|
||
entity_id: 95eab0e0f096de60d69cc6204752c455
|
||
id: deckeFlurAn
|
||
platform: device
|
||
type: turned_on
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- nukiAutoUnlockOn
|
||
sequence:
|
||
- action: switch.turn_on
|
||
data: {}
|
||
enabled: true
|
||
metadata: {}
|
||
target:
|
||
entity_id:
|
||
- switch.nuki_haustur_continuous_mode
|
||
- action: notify.alexa_media_echo_flur
|
||
data:
|
||
message: '{{ [ "Bis gleich!", "Bis gleich dann!", "Sehen uns gleich!", "Gleich
|
||
sehen wir uns!", "Bis gleich, in ein paar Minuten!", "Bis gleich, freue
|
||
mich!", "Bin bald bei dir, bis gleich!", "Wir sehen uns gleich wieder!",
|
||
"Nur noch kurz, bis gleich!", "Bis gleich, nicht weglaufen!", "Bis gleich,
|
||
halte die Stellung!", "Wir treffen uns gleich, bis dahin!", "Bis gleich,
|
||
mach''s gut!", "Bis gleich, ich beeile mich!", "Gleich bin ich zurück,
|
||
bis gleich!", "Sehen uns gleich, halt die Ohren steif!", "Bis gleich,
|
||
lass dich nicht unterkriegen!", "Bis gleich, das wird super!", "Gleich
|
||
sind wir wieder zusammen, bis gleich!", "Bis gleich, ich zähle die Minuten!",
|
||
"Bis gleich, halt alles bereit!", "Bis gleich, ich freu mich schon!" ]
|
||
| random }}'
|
||
enabled: false
|
||
metadata: {}
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- nukiAutoUnlockOff
|
||
sequence:
|
||
- action: switch.turn_off
|
||
data: {}
|
||
target:
|
||
entity_id:
|
||
- switch.nuki_haustur_continuous_mode
|
||
- action: notify.alexa_media_echo_flur
|
||
data:
|
||
message: Auto-Unlock wurde abgeschaltet
|
||
enabled: false
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- nukiOn
|
||
sequence:
|
||
- device_id: 0bd3a8ef3dbdde3611e8f7f2b0d33f35
|
||
domain: switch
|
||
entity_id: 55c2f5c9869bcfbeac0ed4d2dfbc4567
|
||
type: turn_on
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- nukiOff
|
||
sequence:
|
||
- device_id: 0bd3a8ef3dbdde3611e8f7f2b0d33f35
|
||
domain: switch
|
||
entity_id: 55c2f5c9869bcfbeac0ed4d2dfbc4567
|
||
type: turn_off
|
||
alias: Schalter Flur Nuki
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713885934064'
|
||
mode: single
|
||
trigger:
|
||
- device_id: 0bd3a8ef3dbdde3611e8f7f2b0d33f35
|
||
domain: switch
|
||
entity_id: 55c2f5c9869bcfbeac0ed4d2dfbc4567
|
||
id: nukiAutoUnlockOn
|
||
platform: device
|
||
type: turned_on
|
||
- device_id: 0bd3a8ef3dbdde3611e8f7f2b0d33f35
|
||
domain: switch
|
||
entity_id: 55c2f5c9869bcfbeac0ed4d2dfbc4567
|
||
id: nukiAutoUnlockOff
|
||
platform: device
|
||
type: turned_off
|
||
- entity_id:
|
||
- switch.nuki_haustur_continuous_mode
|
||
from: 'off'
|
||
id: nukiOn
|
||
platform: state
|
||
to: 'on'
|
||
- entity_id:
|
||
- switch.nuki_haustur_continuous_mode
|
||
from: 'on'
|
||
id: nukiOff
|
||
platform: state
|
||
to: 'off'
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- coreTempOn
|
||
sequence:
|
||
- action: switch.turn_on
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
device_id: 4bd2421af39cbb87537914ffe272415d
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- coreTempOff
|
||
sequence:
|
||
- action: switch.turn_off
|
||
data: {}
|
||
target:
|
||
device_id:
|
||
- 4bd2421af39cbb87537914ffe272415d
|
||
alias: Serverschrank Fan Controller
|
||
conditions:
|
||
- after: 08:00:00
|
||
before: '21:00:00'
|
||
condition: time
|
||
weekday:
|
||
- mon
|
||
- tue
|
||
- wed
|
||
- thu
|
||
- fri
|
||
- sat
|
||
- sun
|
||
description: ''
|
||
id: '1729514153134'
|
||
mode: single
|
||
triggers:
|
||
- above: 250
|
||
entity_id:
|
||
- sensor.glances_proxmox_pve_01_core_temperatur
|
||
for:
|
||
hours: 0
|
||
minutes: 5
|
||
seconds: 0
|
||
id: coreTempOn
|
||
trigger: numeric_state
|
||
- below: 250
|
||
entity_id:
|
||
- sensor.glances_proxmox_pve_01_core_temperatur
|
||
for:
|
||
hours: 0
|
||
minutes: 5
|
||
seconds: 0
|
||
id: coreTempOff
|
||
trigger: numeric_state
|
||
- action:
|
||
- data: {}
|
||
service: script.1699263899938
|
||
alias: Speedtest
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: Alle 2 Minuten
|
||
id: '1699291427370'
|
||
mode: single
|
||
trigger:
|
||
- minutes: /2
|
||
platform: time_pattern
|
||
- actions:
|
||
- device_id: d30e5e22fdee4494285af01c47713091
|
||
domain: switch
|
||
entity_id: 05785b4428b8cdd9ff015195221899c8
|
||
type: turn_on
|
||
- action: rest_command.start_welt_stream
|
||
data: {}
|
||
enabled: true
|
||
metadata: {}
|
||
- action: script.power_wohnzimmer
|
||
data: {}
|
||
metadata: {}
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 0
|
||
seconds: 10
|
||
- action: media_player.play_media
|
||
data:
|
||
media_content_id: '{{ states(''input_text.latest_welt_stream'') }}'
|
||
media_content_type: url
|
||
target:
|
||
device_id: 67feb204d2fca3cfd31e143defa33fe5
|
||
alias: Starte WELT Livestream morgens
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- after: 06:00:00
|
||
before: 09:00:00
|
||
condition: time
|
||
weekday:
|
||
- mon
|
||
- tue
|
||
- wed
|
||
- thu
|
||
- fri
|
||
- above: 0
|
||
condition: numeric_state
|
||
entity_id: sensor.people_home
|
||
- condition: state
|
||
entity_id: input_boolean.nachrichten
|
||
state: 'on'
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
enabled: true
|
||
description: ''
|
||
id: '1713867813081'
|
||
mode: single
|
||
triggers:
|
||
- entity_id:
|
||
- binary_sensor.presence_couch
|
||
for:
|
||
hours: 0
|
||
minutes: 0
|
||
seconds: 10
|
||
from: 'off'
|
||
to: 'on'
|
||
trigger: state
|
||
- actions:
|
||
- action: notify.persistent_notification
|
||
data:
|
||
message: SwitchBot Hub 2 identify button was pressed.
|
||
title: SwitchBot Hub 2
|
||
alias: SwitchBot Hub 2 Identify Confirmation
|
||
description: Sends a notification when the SwitchBot Hub 2 Identify button is pressed.
|
||
id: '1745225954610'
|
||
triggers:
|
||
- entity_id: button.switchbot_hub_2_identifizieren
|
||
to: unavailable
|
||
trigger: state
|
||
- action:
|
||
- data:
|
||
apply_filter: true
|
||
repack: true
|
||
service: recorder.purge
|
||
alias: System - Database Repack (Weekly)
|
||
condition:
|
||
- condition: and
|
||
conditions:
|
||
- condition: time
|
||
weekday:
|
||
- sun
|
||
- tue
|
||
- thu
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: database_repack
|
||
mode: single
|
||
trigger:
|
||
- at: 02:00
|
||
platform: time
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- eveningOn
|
||
sequence:
|
||
- data: {}
|
||
service: input_boolean.turn_on
|
||
target:
|
||
entity_id: input_boolean.abend
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- eveningOff
|
||
sequence:
|
||
- data: {}
|
||
service: input_boolean.turn_off
|
||
target:
|
||
entity_id: input_boolean.abend
|
||
alias: Toggle Abend / Morgen
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1716668889277'
|
||
mode: single
|
||
trigger:
|
||
- at: '20:00:00'
|
||
id: eveningOn
|
||
platform: time
|
||
- at: 06:00:00
|
||
id: eveningOff
|
||
platform: time
|
||
- actions:
|
||
- choose:
|
||
- alias: Notification Florian
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: trigger
|
||
id:
|
||
- zoneHomeOn
|
||
- nukiRingOn
|
||
sequence:
|
||
- action: notify.florian_notify
|
||
data:
|
||
data:
|
||
actions:
|
||
- action: UNLOCK_HOUSE
|
||
icon: sfsymbols:lock.open.fill
|
||
title: Haustür öffnen
|
||
- action: UNLOCK_APARTMENT
|
||
icon: sfsymbols:lock.open.fill
|
||
title: Wohnungstür öffnen
|
||
message: Möchtest du die Tür öffnen?
|
||
title: 🔐 Türen öffnen
|
||
- alias: Haustür Öffnen
|
||
conditions:
|
||
- condition: trigger
|
||
id:
|
||
- unlockHouse
|
||
sequence:
|
||
- action: lock.open
|
||
data: {}
|
||
target:
|
||
entity_id: lock.nuki_haustur_lock
|
||
- alias: Wohnungstür Öffnen
|
||
conditions:
|
||
- condition: trigger
|
||
id:
|
||
- unlockApartment
|
||
sequence:
|
||
- action: lock.open
|
||
data: {}
|
||
target:
|
||
entity_id: lock.nuki_wohnungstur_lock
|
||
alias: Türen
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1702827571661'
|
||
mode: single
|
||
triggers:
|
||
- entity_id: person.florian_wartner
|
||
event: enter
|
||
id: zoneHomeOn
|
||
trigger: zone
|
||
zone: zone.home
|
||
- entity_id:
|
||
- binary_sensor.nuki_haustur_ring_action
|
||
id: nukiRingOn
|
||
to: 'on'
|
||
trigger: state
|
||
- event_data:
|
||
action: UNLOCK_HOUSE
|
||
event_type: mobile_app_notification_action
|
||
id: unlockHouse
|
||
trigger: event
|
||
- event_data:
|
||
action: UNLOCK_APARTMENT
|
||
event_type: mobile_app_notification_action
|
||
id: unlockApartment
|
||
trigger: event
|
||
- actions:
|
||
- continue_on_timeout: false
|
||
wait_template: "{% set fenster = [\n 'binary_sensor.aqara_contact_badezimmer_contact',\n\
|
||
\ 'binary_sensor.aqara_contact_balkontur_contact',\n 'binary_sensor.aqara_contact_kinderzimmer_contact',\n\
|
||
\ 'binary_sensor.aqara_contact_wohnungstur_contact',\n \
|
||
\ 'binary_sensor.aqara_contact_wohnzimmer_contact',\n 'binary_sensor.aqara_contact_schlafzimmer_contact',\n\
|
||
\ ] %}\n {% if fenster | select('is_state', 'on') | list\
|
||
\ | count > 0 %}\n true\n {% else %}\n false\n\
|
||
\ {% endif %}"
|
||
- if:
|
||
- condition: state
|
||
entity_id: input_boolean.nicht_storen
|
||
state: 'off'
|
||
then:
|
||
- action: notify.home_ai
|
||
data:
|
||
message: Es sieht so aus, als wären noch eine oder mehrere Türen offen. Prüfe
|
||
doch mal nach, welche das sein könnten und schließe sie gegebenenfalls bevor
|
||
du gehst.
|
||
title: Es sind noch Türen offen
|
||
metadata: {}
|
||
- action: notify.alexa_media_echo_flur
|
||
data:
|
||
message: Es sieht so aus, als wären noch eine oder mehrere Türen offen. Prüfe
|
||
doch mal nach, welche das sein könnten und schließe sie gegebenenfalls bevor
|
||
du gehst.
|
||
enabled: false
|
||
metadata: {}
|
||
alias: Türen Offen Check
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.urlaubsmodus
|
||
state: 'on'
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713181284693'
|
||
mode: single
|
||
triggers:
|
||
- device_id: 67bc89621a1ceb0aced67ad07618a34b
|
||
domain: hue
|
||
subtype: 1
|
||
trigger: device
|
||
type: short_release
|
||
unique_id: f88e3a46-3b79-423c-868f-7ad7944c62bc
|
||
- actions:
|
||
- parallel:
|
||
- action: notify.mobile_app_mac_mini
|
||
data:
|
||
message: Jemand scheint an der Tür zu sein…
|
||
title: Es hat geklingelt!
|
||
- choose:
|
||
- conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: trigger
|
||
id:
|
||
- ringOn
|
||
- below: 1
|
||
condition: numeric_state
|
||
entity_id: sensor.people_home
|
||
sequence:
|
||
- action: notify.mobile_app_iphone_von_florian
|
||
data:
|
||
message: Scheinbar hat jemand an der Tür geklingelt.
|
||
title: Jemand hat an der Tür geklingelt..
|
||
- conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: trigger
|
||
id:
|
||
- ringOn
|
||
- above: 0
|
||
condition: numeric_state
|
||
entity_id: sensor.people_home
|
||
sequence:
|
||
- parallel:
|
||
- repeat:
|
||
count: '3'
|
||
sequence:
|
||
- action: light.turn_on
|
||
data:
|
||
color_name: gold
|
||
target:
|
||
device_id: 81a05f4ea38ce123a73f5f66b8e0e3c1
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 0
|
||
seconds: 1
|
||
- action: light.turn_off
|
||
data: {}
|
||
target:
|
||
device_id: 81a05f4ea38ce123a73f5f66b8e0e3c1
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 0
|
||
seconds: 1
|
||
- action: notify.alexa_media_echo_show_wohnzimmer
|
||
data:
|
||
message: Jemand hat an der Tür geklingelt
|
||
enabled: false
|
||
- action: script.awtrix_doorbell
|
||
data: {}
|
||
metadata: {}
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- ringOn
|
||
sequence:
|
||
- action: notify.mobile_app_macbook_pro_von_florian
|
||
data:
|
||
message: Jemand hat an der Tür geklingelt
|
||
title: 🔔 Klingeling!
|
||
metadata: {}
|
||
alias: Türklingel
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.nicht_storen
|
||
state: 'off'
|
||
- above: 0
|
||
condition: numeric_state
|
||
entity_id: sensor.people_home
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1692134639284'
|
||
mode: single
|
||
triggers:
|
||
- entity_id:
|
||
- binary_sensor.nuki_haustur_ring_action
|
||
id: ringOn
|
||
to: 'on'
|
||
trigger: state
|
||
- actions:
|
||
- if:
|
||
- condition: state
|
||
entity_id: cover.rollos_wohnzimmer_fensterbank
|
||
state: open
|
||
then:
|
||
- action: cover.close_cover
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: cover.rollos_wohnzimmer_fensterbank
|
||
- if:
|
||
- condition: state
|
||
entity_id: cover.rollos_wohnzimmer_fensterbank
|
||
state: closed
|
||
then:
|
||
- action: cover.open_cover
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: cover.rollos_wohnzimmer_fensterbank
|
||
alias: Universal Remote Rollos
|
||
conditions: []
|
||
description: ''
|
||
id: '1745231811625'
|
||
mode: single
|
||
triggers:
|
||
- context: {}
|
||
event_data: {}
|
||
event_type: event.universal_remote_rollos
|
||
trigger: event
|
||
- action:
|
||
- delay:
|
||
hours: 0
|
||
milliseconds: 0
|
||
minutes: 2
|
||
seconds: 0
|
||
- data:
|
||
topic: awtrix_wohnzimmer/doupdate
|
||
service: mqtt.publish
|
||
alias: Update all AWTRIX
|
||
condition: []
|
||
description: ''
|
||
id: '1715335009101'
|
||
mode: single
|
||
trigger:
|
||
- attribute: tag
|
||
entity_id:
|
||
- sensor.blueforcer_awtrix3_neueste_version
|
||
platform: state
|
||
- action:
|
||
- data: {}
|
||
service: homeassistant.update_entity
|
||
target:
|
||
entity_id:
|
||
- sensor.openuv_aktueller_uv_index
|
||
- binary_sensor.openuv_schutzfenster
|
||
alias: Update OpenUV every 59 minutes during the daytime
|
||
condition:
|
||
- condition: and
|
||
conditions:
|
||
- after: sunrise
|
||
before: sunset
|
||
condition: sun
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: 90a76832-88a6-4da3-94f6-975154c297ff
|
||
trigger:
|
||
- minutes: 59
|
||
platform: time_pattern
|
||
- action:
|
||
- choose:
|
||
- conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: trigger
|
||
id:
|
||
- fanOn
|
||
sequence:
|
||
- data:
|
||
percentage: 60
|
||
service: fan.turn_on
|
||
target:
|
||
entity_id: fan.ventilator_wohnzimmer
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- fanOff
|
||
sequence:
|
||
- data: {}
|
||
service: fan.turn_off
|
||
target:
|
||
entity_id: fan.ventilator_wohnzimmer
|
||
alias: Ventilator
|
||
condition:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.ventilator
|
||
state: 'on'
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
- condition: template
|
||
value_template: '{{ now().month in [6,7,8] }}'
|
||
description: 'An: Wenn über 25 Grad im Sommer, Aus: Wenn unter 23 Grad'
|
||
id: '1686557247104'
|
||
mode: single
|
||
trigger:
|
||
- above: 25
|
||
entity_id:
|
||
- sensor.wohnzimmer_temperature
|
||
id: fanOn
|
||
platform: numeric_state
|
||
- below: 23
|
||
entity_id:
|
||
- sensor.wohnzimmer_temperature
|
||
id: fanOff
|
||
platform: numeric_state
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- anyoneHomeOff
|
||
sequence:
|
||
- action: light.turn_off
|
||
data: {}
|
||
target:
|
||
entity_id: light.alle_lampen
|
||
- action: switch.turn_off
|
||
data: {}
|
||
target:
|
||
entity_id:
|
||
- switch.alle_steckdosen
|
||
- action: alarmo.arm
|
||
data:
|
||
entity_id: alarm_control_panel.alarmo
|
||
force: true
|
||
mode: away
|
||
skip_delay: true
|
||
enabled: false
|
||
metadata: {}
|
||
alias: Verlassen
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1692084370120'
|
||
mode: single
|
||
triggers:
|
||
- entity_id:
|
||
- sensor.people_home
|
||
id: anyoneHomeOff
|
||
to: '0'
|
||
trigger: state
|
||
- actions:
|
||
- action: fully_kiosk.load_url
|
||
data:
|
||
url: https://ha.wartner.cloud/dashboard-nspanel/1
|
||
target:
|
||
device_id: 3738295208de8496912ccf373503aa6c
|
||
- device_id: bb8a84cf268277f3d38063aee6ce698e
|
||
domain: lock
|
||
entity_id: 7b91d36587ba4469f26de8a280995404
|
||
type: unlock
|
||
- if:
|
||
- condition: state
|
||
entity_id: input_boolean.auto_wecker
|
||
state: 'off'
|
||
then:
|
||
- action: input_boolean.turn_off
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: input_boolean.wecker_an_aus
|
||
alias: Wecker
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wecker_an_aus
|
||
state: 'on'
|
||
- condition: state
|
||
entity_id: input_boolean.nicht_storen
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1712525174898'
|
||
mode: single
|
||
triggers:
|
||
- at: input_datetime.wecker
|
||
enabled: true
|
||
trigger: time
|
||
- actions:
|
||
- choose:
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- wledTVOn
|
||
sequence:
|
||
- action: light.turn_on
|
||
data:
|
||
transition: 2
|
||
metadata: {}
|
||
target:
|
||
entity_id: light.wled_stand
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- wledTVOff
|
||
sequence:
|
||
- action: light.turn_off
|
||
data:
|
||
transition: 2
|
||
metadata: {}
|
||
target:
|
||
entity_id: light.wled_stand
|
||
- conditions:
|
||
- condition: trigger
|
||
id:
|
||
- checkPower
|
||
sequence:
|
||
- action: homeassistant.update_entity
|
||
data:
|
||
entity_id:
|
||
- sensor.steckdose_tv_schlafzimmer_energy_power
|
||
alias: WLED TV SZ ON OFF
|
||
conditions: []
|
||
description: ''
|
||
id: '1748208734437'
|
||
mode: single
|
||
triggers:
|
||
- above: 20
|
||
entity_id:
|
||
- sensor.steckdose_tv_schlafzimmer_energy_power
|
||
id: wledTVOn
|
||
trigger: numeric_state
|
||
- below: 20
|
||
entity_id:
|
||
- sensor.steckdose_tv_schlafzimmer_energy_power
|
||
id: wledTVOff
|
||
trigger: numeric_state
|
||
- id: checkPower
|
||
seconds: '2'
|
||
trigger: time_pattern
|
||
- actions:
|
||
- action: lock.open
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: lock.nuki_wohnungstur_lock
|
||
alias: Wohnungstür (NFC Tag)
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1707472829981'
|
||
mode: single
|
||
triggers:
|
||
- tag_id: 80174732-d4b2-4c77-9e71-a05ff997192a
|
||
trigger: tag
|
||
- actions:
|
||
- action: vacuum.start
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
entity_id: vacuum.roborock_s7_maxv
|
||
alias: Wohnung reinigen komplett
|
||
conditions:
|
||
- after: 08:00:00
|
||
before: '20:00:00'
|
||
condition: time
|
||
weekday:
|
||
- mon
|
||
- tue
|
||
- wed
|
||
- thu
|
||
- fri
|
||
description: ''
|
||
id: '1745312911625'
|
||
mode: single
|
||
triggers:
|
||
- below: 1
|
||
entity_id:
|
||
- sensor.people_home
|
||
for:
|
||
hours: 0
|
||
minutes: 10
|
||
seconds: 0
|
||
trigger: numeric_state
|
||
- actions:
|
||
- action: light.turn_on
|
||
data: {}
|
||
metadata: {}
|
||
target:
|
||
device_id:
|
||
- 8d09b3d2460d7b46609a435e034c3a59
|
||
- 916ac0645e12fe77d93d9731956888e4
|
||
- 1e74380a353e5af91767df2483e266fe
|
||
- 171cf6e6bd2c823a2a91c916b23b3e25
|
||
- 3d2124b0362a0b5d69b4f905ec8a36c5
|
||
alias: Wohnzimmer Licht wenn zu dunkel
|
||
conditions:
|
||
- condition: and
|
||
conditions:
|
||
- above: 0
|
||
condition: numeric_state
|
||
entity_id: sensor.people_home
|
||
- condition: state
|
||
entity_id: remote.appletv_wohnzimmer
|
||
state: 'on'
|
||
- after: sunset
|
||
condition: sun
|
||
- after: '17:00:00'
|
||
before: '23:00:00'
|
||
condition: time
|
||
weekday:
|
||
- mon
|
||
- tue
|
||
- wed
|
||
- thu
|
||
- fri
|
||
- sat
|
||
- sun
|
||
- condition: and
|
||
conditions:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
- condition: state
|
||
entity_id: input_boolean.manuell
|
||
state: 'off'
|
||
description: ''
|
||
id: '1719174034446'
|
||
mode: single
|
||
triggers:
|
||
- below: 30
|
||
entity_id:
|
||
- sensor.mi_light_sensor_wohnzimmer_illuminance
|
||
trigger: numeric_state
|
||
- action:
|
||
- data: {}
|
||
metadata: {}
|
||
service: script.1699263855216
|
||
alias: '[Admin] Zigbee2MQTT Restart Nightly'
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1713443188220'
|
||
mode: single
|
||
trigger:
|
||
- at: 00:00:00
|
||
platform: time
|
||
- action:
|
||
- data: {}
|
||
metadata: {}
|
||
service: input_boolean.turn_off
|
||
target:
|
||
entity_id: input_boolean.staubsauger_wassertank
|
||
alias: '[NFC Tag] Staubsauger Wassertank'
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1718549422662'
|
||
mode: single
|
||
trigger:
|
||
- platform: tag
|
||
tag_id: staubsauger_wassertank
|
||
- action:
|
||
- data:
|
||
date: '{{ states(''sensor.date'') }}'
|
||
service: input_datetime.set_datetime
|
||
target:
|
||
entity_id: input_datetime.wassertank_aufgefullt
|
||
alias: '[NFC Tag] Staubsauger Wassertank nachgefüllt'
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1718562692032'
|
||
mode: single
|
||
trigger:
|
||
- platform: tag
|
||
tag_id: staubsauger_wassertank
|
||
- action:
|
||
- data:
|
||
payload: 'false'
|
||
topic: zigbee2mqtt/bridge/config/permit_join
|
||
service: mqtt.publish
|
||
- data:
|
||
entity_id: timer.z2m_permit_join
|
||
service: timer.cancel
|
||
alias: '[Zigbee2MQTT] Disable Z2M Join'
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1717147845731'
|
||
trigger:
|
||
- entity_id:
|
||
- input_boolean.z2m_permit_join
|
||
platform: state
|
||
to: 'off'
|
||
- action:
|
||
- data:
|
||
payload: 'true'
|
||
topic: zigbee2mqtt/bridge/config/permit_join
|
||
service: mqtt.publish
|
||
- data:
|
||
entity_id: timer.z2m_permit_join
|
||
service: timer.start
|
||
alias: '[Zigbee2MQTT] Enable Z2M Join'
|
||
condition:
|
||
- condition: state
|
||
entity_id: input_boolean.wartung
|
||
state: 'off'
|
||
description: ''
|
||
id: '1717147815711'
|
||
trigger:
|
||
- entity_id:
|
||
- input_boolean.z2m_permit_join
|
||
platform: state
|
||
to: 'on'
|