Files
hass/automations.yaml
Ben Melchior 528f9f0a60 Update automations.yaml with volume adjustments, delay changes, and new trigger conditions
- Increased volume for doorbell notifications from 0 to 70.
- Extended delays in multiple automations from 30 seconds to 45 seconds.
- Added new trigger IDs for sleep mode and timed actions.
- Refined conditions for cover actions based on state and trigger conditions.
- Updated light actions to use 'brightness' instead of 'brightness_pct' for consistency.
2025-05-28 17:40:57 +02:00

1491 lines
33 KiB
YAML

- id: '1742925721017'
alias: Klingel Haustür
description: ''
triggers:
- trigger: state
entity_id:
- sensor.8000_state
to: In use
conditions:
- condition: state
entity_id: sensor.8000_connected_line
attribute: Exten
state: '7001'
actions:
- parallel:
- if:
- condition: state
entity_id: input_boolean.schlaffmodus
state: 'off'
then:
- action: media_player.play_media
target:
entity_id:
- media_player.kuche
- media_player.gallerie
data:
announce: true
media_content_id: media-source://media_source/local/hass_media/doorbell.wav
media_content_type: audio/x-wav
extra:
volume: 70
- sequence:
- action: camera.snapshot
metadata: {}
data:
filename: /config/www/snapshot/doorbell.jpg
target:
entity_id: camera.haustur
- action: script.cobe_haus_benachrichtigung_mit_bild
metadata: {}
data:
title: COBE Haus - Hausdier
message: Et ass een un der Hausdier.
image: https://hass.cobe.space/local/snapshot/doorbell.jpg
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.videophone_anzeigen
- delay:
hours: 0
minutes: 2
seconds: 0
milliseconds: 0
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id: input_boolean.videophone_anzeigen
- sequence:
- action: llmvision.image_analyzer
metadata: {}
data:
include_filename: false
max_tokens: 150
temperature: 0.2
provider: 01JS9H5VFVF5YSYCFB9YW4G0TN
image_entity:
- camera.haustur
model: gemma3:12b
target_width: 1025
message: 'Beschreibe kurz und knapp das Bild meiner Haustürkamera auf Deutsch.
Wieviele Person siehst du?
Ignoriere das weiße Haus im Hintergrund. Konzentriere die Beschreibung
auf Personen, Fahrzeuge oder sonstige Auffälligkeiten.
Antworte bloß mit der Beschreibung und sonst nichts.'
expose_images: false
response_variable: doorbell
- action: script.cobe_haus_benachrichtigung
metadata: {}
data:
message: '{{ doorbell.response_text }}'
title: COBE Haus - Hausdier
mode: restart
- id: '1743358810428'
alias: Einschlaffmodus einschalten
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.einschlaffmodus_zeitsensor
from: 'off'
to: 'on'
- trigger: state
entity_id:
- binary_sensor.schlaffmodus_helligkeit
for:
hours: 0
minutes: 5
seconds: 0
from: 'off'
to: 'on'
conditions:
- condition: state
entity_id: input_boolean.einschlaffmodus
state: 'off'
- condition: state
entity_id: input_boolean.schlaffmodus
state: 'off'
- condition: state
entity_id: binary_sensor.einschlaffmodus_zeitsensor
state: 'on'
- condition: state
entity_id: binary_sensor.schlaffmodus_helligkeit
state: 'on'
actions:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.einschlaffmodus
mode: single
- id: '1743361311728'
alias: Schlaffmodus einschalten
description: ''
triggers:
- trigger: time
at: '22:00:00'
conditions: []
actions:
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id: input_boolean.einschlaffmodus
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.schlaffmodus
mode: single
- id: '1743361716570'
alias: Schlaffmodus ausschalten
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.aufwachmodus_zeitsensor
from: 'off'
to: 'on'
- trigger: state
entity_id:
- binary_sensor.schlaffmodus_helligkeit
from: 'on'
to: 'off'
for:
hours: 0
minutes: 5
seconds: 0
conditions:
- condition: state
entity_id: binary_sensor.aufwachmodus_zeitsensor
state: 'on'
- condition: state
entity_id: binary_sensor.schlaffmodus_helligkeit
state: 'off'
for:
hours: 0
minutes: 5
seconds: 0
actions:
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id: input_boolean.schlaffmodus
mode: single
- id: '1743362231963'
alias: Rollaten automatisch schließen
description: ''
triggers:
- trigger: state
entity_id:
- input_boolean.einschlaffmodus
from: 'off'
to: 'on'
conditions:
- condition: state
entity_id: input_boolean.rolladenautomatik
state: 'on'
- condition: state
entity_id: input_boolean.rolladen_automatisch_offnen_schliessen
state: 'on'
actions:
- action: automation.turn_off
metadata: {}
data:
stop_actions: true
target:
entity_id: automation.automatik_fur_einzelne_rolladen_blockieren
- action: cover.close_cover
metadata: {}
data: {}
target:
floor_id:
- obergeschoss_2
- obergeschoss_1
- erdgeschoss
- delay:
hours: 0
minutes: 0
seconds: 45
milliseconds: 0
- action: automation.turn_on
metadata: {}
data: {}
target:
entity_id: automation.automatik_fur_einzelne_rolladen_blockieren
mode: single
- id: '1743363549729'
alias: Rolladen automatisch öffnen
description: ''
triggers:
- trigger: state
entity_id:
- input_boolean.schlaffmodus
from: 'on'
to: 'off'
id: Sleepmode
- trigger: time
at: 09:00:00
id: Timed
conditions: []
actions:
- action: automation.turn_off
metadata: {}
data:
stop_actions: true
target:
entity_id: automation.automatik_fur_einzelne_rolladen_blockieren
- if:
- condition: trigger
id:
- Sleepmode
then:
- action: cover.open_cover
metadata: {}
data: {}
target:
floor_id: erdgeschoss
area_id:
- badezimmer
- gallerie
- badezimmer_og2
- millie
- if:
- condition: trigger
id:
- Timed
then:
- action: cover.open_cover
metadata: {}
data: {}
target:
area_id:
- emil
- schlafzimmer
- delay:
hours: 0
minutes: 0
seconds: 45
milliseconds: 0
- action: automation.turn_on
metadata: {}
data: {}
target:
entity_id: automation.automatik_fur_einzelne_rolladen_blockieren
mode: single
- id: '1743363740983'
alias: Nachtsbeleuchtung einschalten
description: ''
triggers:
- trigger: state
entity_id:
- input_boolean.einschlaffmodus
from: 'off'
to: 'on'
conditions: []
actions:
- action: light.turn_on
metadata: {}
data:
brightness: 1
target:
entity_id:
- light.lda_og1_th_01
- light.lda_eg_th_01
mode: single
- id: '1743363942165'
alias: Nachtsbeleuchtung ausschalten
description: ''
triggers:
- trigger: state
entity_id:
- input_boolean.schlaffmodus
from: 'on'
to: 'off'
conditions: []
actions:
- action: light.turn_off
metadata: {}
target:
entity_id:
- light.lda_og1_th_01
- light.lda_eg_th_01
data: {}
mode: single
- id: '1743597550070'
alias: Küche im Dashboard anzeigen
description: ''
triggers:
- trigger: state
entity_id:
- light.l_eg_ku_01
- light.lda_eg_ku_01
- light.lda_eg_ku_02
conditions: []
actions:
- if:
- condition: or
conditions:
- condition: state
entity_id: light.l_eg_ku_01
state: 'on'
- condition: state
entity_id: light.lda_eg_ku_01
state: 'on'
- condition: state
entity_id: light.lda_eg_ku_02
state: 'on'
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.kuche_anzeigen
else:
- action: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.kuche_anzeigen
mode: single
- id: '1743598217150'
alias: Wohzimmer im Dashboard anzeigen
description: ''
triggers:
- trigger: state
entity_id:
- light.lda_eg_wz_01
- light.lda_eg_wz_02
- light.ld_eg_wz_01
- light.ld_eg_wz_02
conditions: []
actions:
- if:
- condition: or
conditions:
- condition: state
entity_id: light.lda_eg_wz_01
state: 'on'
- condition: state
entity_id: light.lda_eg_wz_02
state: 'on'
- condition: state
entity_id: light.ld_eg_wz_01
state: 'on'
- condition: state
entity_id: light.ld_eg_wz_02
state: 'on'
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.wohnzimmer_anzeigen
else:
- action: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.wohnzimmer_anzeigen
mode: single
- id: '1743598510606'
alias: Emil Zimmer im Dashboard anzeigen
description: ''
triggers:
- trigger: state
entity_id:
- light.lda_og1_sz1_01
conditions: []
actions:
- if:
- condition: or
conditions:
- condition: state
entity_id: light.lda_og1_sz1_01
state: 'on'
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.emil_zimmer_anzeigen
else:
- action: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.emil_zimmer_anzeigen
mode: single
- id: '1743598616558'
alias: Millie Zimmer im Dashboard anzeigen
description: ''
triggers:
- trigger: state
entity_id:
- light.lda_og1_sz2_01
conditions: []
actions:
- if:
- condition: or
conditions:
- condition: state
entity_id: light.lda_og1_sz2_01
state: 'on'
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.millie_zimmer_anzeigen
else:
- action: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.millie_zimmer_anzeigen
mode: single
- id: '1743598967781'
alias: Kinder Badzimmer im Dashboard anzeigen
description: ''
triggers:
- trigger: state
entity_id:
- light.lda_og1_bz_01
- light.lda_og1_bz_02
conditions: []
actions:
- if:
- condition: or
conditions:
- condition: state
entity_id: light.lda_og1_bz_01
state: 'on'
- condition: state
entity_id: light.lda_og1_bz_02
state: 'on'
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.kinderbadezimmer_anzeigen
else:
- action: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.kinderbadezimmer_anzeigen
mode: single
- id: '1743599029849'
alias: Badezimmer im Dashboard anzeigen
description: ''
triggers:
- trigger: state
entity_id:
- light.lda_og2_bz_01
conditions: []
actions:
- if:
- condition: or
conditions:
- condition: state
entity_id: light.lda_og2_bz_01
state: 'on'
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.badezimmer_anzeigen
else:
- action: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.badezimmer_anzeigen
mode: single
- id: '1743599124418'
alias: Schlaffzimmer im Dashboard anzeigen
description: ''
triggers:
- trigger: state
entity_id:
- light.lda_og2_sz_01
- light.l_og2_sz_02
- light.l_og2_sz_03
conditions: []
actions:
- if:
- condition: or
conditions:
- condition: state
entity_id: light.lda_og2_sz_01
state: 'on'
- condition: state
entity_id: light.l_og2_sz_02
state: 'on'
- condition: state
entity_id: light.l_og2_sz_03
state: 'on'
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.schlaffzimmer_anzeigen
else:
- action: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.schlaffzimmer_anzeigen
mode: single
- id: '1743607057910'
alias: Präsenzmelder Flur
description: ''
triggers:
- trigger: state
entity_id:
- switch.se_og1_fl_pr
from: 'off'
to: 'on'
- trigger: state
entity_id:
- binary_sensor.bw_og2_fl
- binary_sensor.bw_og1_fl
to: 'on'
conditions: []
actions:
- if:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.schlaffmodus
state: 'off'
- condition: state
entity_id: input_boolean.einschlaffmodus
state: 'off'
- condition: numeric_state
entity_id: sensor.se_og1_fl_lux
below: input_number.helligkeit_flur
then:
- action: light.turn_on
metadata: {}
data:
brightness: 50
target:
entity_id:
- light.lda_eg_th_01
- light.lda_og1_th_01
- action: light.turn_on
metadata: {}
data:
brightness_pct: 25
transition: 2
target:
entity_id:
- light.lda_og1_fl_01
- light.lda_og2_fl_01
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- action: light.turn_off
metadata: {}
target:
entity_id:
- light.lda_eg_th_01
- light.lda_og1_th_01
- light.lda_og1_fl_01
- light.lda_og2_fl_01
data:
transition: 2
- if:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.schlaffmodus
state: 'off'
- condition: state
entity_id: input_boolean.einschlaffmodus
state: 'on'
- condition: numeric_state
entity_id: sensor.se_og1_fl_lux
below: input_number.helligkeit_flur
then:
- action: light.turn_on
metadata: {}
data:
transition: 2
brightness: 50
target:
entity_id:
- light.lda_eg_th_01
- light.lda_og1_th_01
- action: light.turn_on
metadata: {}
data:
brightness_pct: 25
transition: 2
target:
entity_id:
- light.lda_og1_fl_01
- light.lda_og2_fl_01
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- action: light.turn_off
metadata: {}
target:
entity_id:
- light.lda_og1_fl_01
- light.lda_og2_fl_01
data:
transition: 2
- action: light.turn_on
metadata: {}
data:
transition: 2
brightness: 1
target:
entity_id:
- light.lda_eg_th_01
- light.lda_og1_th_01
mode: restart
- id: '1743656523388'
alias: Präsenzmelder Eingangsbereich
description: ''
triggers:
- trigger: state
entity_id:
- switch.se_au_eg_pr
from: 'off'
to: 'on'
conditions:
- condition: numeric_state
entity_id: sensor.se_au_eg_lux
below: 10
actions:
- action: light.turn_on
metadata: {}
data:
brightness_pct: 20
transition: 2
target:
entity_id: light.lda_au_ga_01
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.lda_au_ga_01
mode: restart
- id: '1743952518641'
alias: Beschattung Westen
description: ''
triggers:
- trigger: time_pattern
minutes: /15
- trigger: numeric_state
entity_id:
- sensor.sun_solar_azimuth
id: ShadeOff
above: input_number.beschattung_azimut_west_ende
- trigger: numeric_state
entity_id:
- sensor.sun_solar_elevation
id: ShadeOff
below: input_number.beschattung_elevation
- trigger: state
entity_id:
- weather.forecast_home
to:
- Regnerisch
- Bewölkt
- Nebel
- Strömender Regen
- Hagel
- Gewitter, regnerisch
- Gewitter
- Schneeregen
- Schneefall
- Windig
- Windig, bewölkt
id: ShadeOff
- trigger: state
entity_id:
- weather.forecast_home
conditions:
- condition: or
conditions:
- condition: and
conditions:
- condition: numeric_state
entity_id: sensor.sun_solar_azimuth
above: input_number.beschattung_azimut_west_start
below: input_number.beschattung_azimut_west_ende
- condition: numeric_state
entity_id: sensor.sun_solar_elevation
above: input_number.beschattung_elevation
- condition: or
conditions:
- condition: state
entity_id: weather.forecast_home
state: partlycloudy
- condition: state
entity_id: weather.forecast_home
state: sunny
- condition: trigger
id:
- ShadeOff
- condition: state
entity_id: input_boolean.rolladenautomatik
state: 'on'
- condition: state
entity_id: input_boolean.rolladen_automatisch_beschatten
state: 'on'
actions:
- action: automation.turn_off
metadata: {}
data:
stop_actions: true
target:
entity_id: automation.automatik_fur_einzelne_rolladen_blockieren
- if:
- condition: trigger
id:
- ShadeOff
then:
- if:
- condition: state
entity_id: input_boolean.block_r_eg_wz_01
state: 'off'
then:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.r_eg_wz_01
else:
- if:
- condition: state
entity_id: input_boolean.block_r_eg_wz_01
state: 'off'
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 20
target:
entity_id: cover.r_eg_wz_01
- if:
- condition: trigger
id:
- ShadeOff
then:
- if:
- condition: state
entity_id: input_boolean.block_r_eg_wz_02
state: 'off'
then:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.r_eg_wz_02
else:
- if:
- condition: state
entity_id: input_boolean.block_r_eg_wz_02
state: 'off'
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 20
target:
entity_id:
- cover.r_eg_wz_02
- if:
- condition: trigger
id:
- ShadeOff
then:
- if:
- condition: state
entity_id: input_boolean.block_r_og1_bi_01
state: 'off'
then:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id:
- cover.r_og1_bi_01
else:
- if:
- condition: state
entity_id: input_boolean.block_r_og1_bi_01
state: 'off'
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 20
target:
entity_id: cover.r_og1_bi_01
- if:
- condition: trigger
id:
- ShadeOff
then:
- if:
- condition: state
entity_id: input_boolean.block_r_og1_sz1_01
state: 'off'
then:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.r_og1_sz1_01
else:
- if:
- condition: state
entity_id: input_boolean.block_r_og1_sz1_01
state: 'off'
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 20
target:
entity_id:
- cover.r_og1_sz1_01
- delay:
hours: 0
minutes: 0
seconds: 45
milliseconds: 0
- action: automation.turn_on
metadata: {}
data: {}
target:
entity_id: automation.automatik_fur_einzelne_rolladen_blockieren
mode: single
- id: '1743957027473'
alias: Automatik für einzelne Rolladen blockieren
description: ''
triggers:
- trigger: time
at: '23:59:00'
id: Reset
- trigger: state
entity_id:
- cover.r_eg_wz_01
id: R_EG_WZ_01
- trigger: state
entity_id:
- cover.r_eg_wz_02
id: R_EG_WZ_02
- trigger: state
entity_id:
- cover.r_og1_bi_01
id: R_OG1_BI_01
- trigger: state
entity_id:
- cover.r_og1_sz1_01
id: R_OG1_SZ1_01
- trigger: state
entity_id:
- cover.r_og1_sz2_02
id: R_OG1_SZ2_02
- trigger: state
entity_id:
- cover.r_og1_bz_01
id: R_OG1_BZ_01
- trigger: state
entity_id:
- cover.r_eg_wc_01
id: R_EG_WC_01
conditions: []
actions:
- if:
- condition: trigger
id:
- Reset
then:
- action: input_boolean.turn_off
metadata: {}
data: {}
target:
entity_id:
- input_boolean.block_r_eg_wz_01
- input_boolean.block_r_og1_bz_01
- input_boolean.block_r_og1_sz1_01
- input_boolean.block_r_eg_wz_02
- input_boolean.block_r_og1_sz2_02
- input_boolean.block_r_og1_bi_01
- input_boolean.block_r_eg_wc_01
- if:
- condition: trigger
id:
- R_EG_WZ_01
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.block_r_eg_wz_01
- if:
- condition: trigger
id:
- R_OG1_BI_01
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id:
- input_boolean.block_r_og1_bi_01
- if:
- condition: trigger
id:
- R_OG1_SZ1_01
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id:
- input_boolean.block_r_og1_sz1_01
- if:
- condition: trigger
id:
- R_OG1_SZ2_02
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id:
- input_boolean.block_r_og1_sz2_02
- if:
- condition: trigger
id:
- R_OG1_BZ_01
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.block_r_og1_bz_01
- if:
- condition: trigger
id:
- R_EG_WC_01
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id: input_boolean.block_r_eg_wc_01
- if:
- condition: trigger
id:
- R_EG_WZ_02
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id:
- input_boolean.block_r_eg_wz_02
mode: single
- id: '1745042137394'
alias: 'Sonos: RTL wiedergeben'
description: ''
triggers: []
conditions: []
actions:
- action: media_player.volume_set
metadata: {}
data:
volume_level: 0.3
target:
entity_id:
- media_player.kuche
- media_player.gallerie
- action: media_player.play_media
target:
entity_id:
- media_player.gallerie
- media_player.kuche
data:
media_content_id: media-source://radio_browser/960ef824-0601-11e8-ae97-52543be04c81
media_content_type: audio/mpeg
metadata:
title: RTL Radio Letzebuerg
thumbnail: http://www.rtl.lu/assets/images/favicon-rtllu/apple-touch-icon.png?v=202304271020
media_class: music
children_media_class:
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://radio_browser
- media_content_type: music
media_content_id: media-source://radio_browser/country/LU
mode: single
- id: '1745042595220'
alias: 'Sonos: Eldoradio wiedergeben'
description: ''
triggers: []
conditions: []
actions:
- action: media_player.volume_set
metadata: {}
data:
volume_level: 0.3
target:
entity_id:
- media_player.kuche
- media_player.gallerie
- action: media_player.play_media
target:
entity_id:
- media_player.kuche
- media_player.gallerie
data:
media_content_id: media-source://radio_browser/9611e44f-0601-11e8-ae97-52543be04c81
media_content_type: audio/mpeg
metadata:
title: Eldoradio
thumbnail: ''
media_class: music
children_media_class:
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://radio_browser
- media_content_type: music
media_content_id: media-source://radio_browser/country/LU
mode: single
- id: '1745161619601'
alias: Beleuchtung Garage
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.garage_ben
- binary_sensor.garage_conny
to: 'on'
conditions: []
actions:
- action: light.turn_on
metadata: {}
data: {}
target:
entity_id: light.l_au_ga_01
- wait_for_trigger:
- trigger: state
entity_id:
- binary_sensor.garage_ben
- binary_sensor.garage_conny
from: 'on'
to: 'off'
for:
hours: 0
minutes: 1
seconds: 0
timeout:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.l_au_ga_01
mode: single
- id: '1745163313518'
alias: Gallerie im Dashboard anzeigen
description: ''
triggers:
- trigger: state
entity_id:
- light.lda_og1_bi_01
conditions: []
actions:
- if:
- condition: or
conditions:
- condition: state
entity_id: light.lda_og1_bi_01
state: 'on'
then:
- action: input_boolean.turn_on
metadata: {}
data: {}
target:
entity_id:
- input_boolean.gallerie_anzeigen
else:
- action: input_boolean.turn_off
data: {}
target:
entity_id:
- input_boolean.gallerie_anzeigen
mode: single
- id: '1745171407380'
alias: Roborock Nightly Programm
description: ''
triggers:
- trigger: time
at: '23:00:00'
id: Daily
conditions: []
actions:
- device_id: 5f704f24d996f22b6a82273e2ee88242
domain: button
entity_id: 2929dbf56880c02b94587e368d0b9b4f
type: press
mode: single
- id: '1746132202701'
alias: Stromausfall
description: ''
triggers:
- trigger: state
entity_id:
- sensor.sh15t_running_status
to: On-grid Operation
from: Backup Operation
- trigger: state
entity_id:
- sensor.sh15t_running_status
to: Backup Operation
id: PowerFailure
conditions: []
actions:
- if:
- condition: trigger
id:
- PowerFailure
then:
- action: script.cobe_haus_benachrichtigung
metadata: {}
data:
title: COBE Haus
message: Aktuell ass ee Stroumausfall!!
else:
- action: script.cobe_haus_benachrichtigung
metadata: {}
data:
title: COBE Haus
message: Stroum as erem do.
mode: single
- id: '1746189714262'
alias: Solarenergie im Boiler speichern
description: ''
triggers:
- trigger: time_pattern
hours: '16'
conditions:
- condition: numeric_state
entity_id: sensor.power_produced
above: 6
- condition: numeric_state
entity_id: sensor.sh15t_battery_level_soc
above: 95
- condition: numeric_state
entity_id: sensor.sh15t_daily_feed_in_energy_pv
above: 50
actions:
- action: number.set_value
metadata: {}
data:
value: '60'
target:
entity_id: number.boiler_dhw_comfort_switch_off
enabled: false
- action: switch.turn_on
metadata: {}
data: {}
target:
entity_id: switch.thermostat_dhw_charge
- delay:
hours: 1
minutes: 30
seconds: 0
milliseconds: 0
enabled: false
- action: number.set_value
metadata: {}
data:
value: '55'
target:
entity_id: number.boiler_dhw_comfort_switch_off
enabled: false
mode: single
- id: '1746191829471'
alias: Alarmkontakte für Schlaffzimmerfenster auschalten.
description: ''
triggers:
- trigger: state
entity_id:
- switch.fe_og2_sz_umgangen
- switch.fe_og1_sz1_02_umgangen
- switch.fe_og1_sz2_01_umgangen
to: 'off'
conditions: []
actions:
- action: switch.turn_on
metadata: {}
data: {}
target:
entity_id:
- switch.fe_og2_sz_umgangen
- switch.fe_og1_sz1_02_umgangen
- switch.fe_og1_sz2_01_umgangen
mode: single
- id: '1746213680625'
alias: Temperatur Voreinstellungen beim starten von Home Assistant
description: ''
triggers:
- trigger: homeassistant
event: start
conditions: []
actions:
- action: climate.set_preset_mode
metadata: {}
data:
preset_mode: comfort
target:
entity_id:
- climate.rtr_eg_wz
- climate.rtr_og1_sz1
- climate.rtr_og2_bz
- climate.rtr_og2_sz
- climate.rtr_og1_sz2
- climate.rtr_og1_bz
- climate.rtr_og1_2_fl
- action: climate.set_preset_mode
metadata: {}
data:
preset_mode: economy
target:
entity_id:
- climate.rtr_og1_2_fl
- climate.rtr_ug_fl
mode: single
- id: '1746266445297'
alias: Beschattung Ost
description: ''
triggers:
- trigger: time_pattern
minutes: /15
- trigger: numeric_state
entity_id:
- sensor.sun_solar_azimuth
above: input_number.beschattung_azimut_ost_start
- trigger: numeric_state
entity_id:
- sensor.sun_solar_azimuth
above: input_number.beschattung_azimut_ost_ende
id: ShadeOff
- trigger: numeric_state
entity_id:
- sensor.sun_solar_elevation
above: input_number.beschattung_elevation
- trigger: state
entity_id:
- weather.forecast_home
to:
- Regnerisch
- Bewölkt
- Nebel
- Strömender Regen
- Hagel
- Gewitter, regnerisch
- Gewitter
- Schneeregen
- Schneefall
- Windig
- Windig, bewölkt
id: ShadeOff
- trigger: state
entity_id:
- weather.forecast_home
conditions:
- condition: or
conditions:
- condition: and
conditions:
- condition: numeric_state
entity_id: sensor.sun_solar_azimuth
above: input_number.beschattung_azimut_ost_start
below: input_number.beschattung_azimut_ost_ende
- condition: numeric_state
entity_id: sensor.sun_solar_elevation
above: input_number.beschattung_elevation
- condition: or
conditions:
- condition: state
entity_id: weather.forecast_home
state: partlycloudy
- condition: state
entity_id: weather.forecast_home
state: sunny
- condition: trigger
id:
- ShadeOff
- condition: state
entity_id: input_boolean.rolladenautomatik
state: 'on'
- condition: state
entity_id: input_boolean.rolladen_automatisch_beschatten
state: 'on'
actions:
- action: automation.turn_off
metadata: {}
data:
stop_actions: true
target:
entity_id: automation.automatik_fur_einzelne_rolladen_blockieren
- if:
- condition: trigger
id:
- ShadeOff
then:
- if:
- condition: state
entity_id: input_boolean.block_r_eg_wc_01
state: 'off'
then:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.r_eg_wc_01
else:
- if:
- condition: state
entity_id: input_boolean.block_r_eg_wc_01
state: 'off'
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 20
target:
entity_id: cover.r_eg_wc_01
- if:
- condition: trigger
id:
- ShadeOff
then:
- if:
- condition: state
entity_id: input_boolean.block_r_og1_sz2_02
state: 'off'
then:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id:
- cover.r_og1_sz2_02
else:
- if:
- condition: state
entity_id: input_boolean.block_r_og1_sz2_02
state: 'off'
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 20
target:
entity_id: cover.r_og1_sz2_02
- if:
- condition: trigger
id:
- ShadeOff
then:
- if:
- condition: state
entity_id: input_boolean.block_r_og1_bz_01
state: 'off'
then:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id:
- cover.r_og1_bz_01
else:
- if:
- condition: state
entity_id: input_boolean.block_r_og1_bz_01
state: 'off'
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 20
target:
entity_id:
- cover.r_og1_bz_01
- delay:
hours: 0
minutes: 0
seconds: 45
milliseconds: 0
- action: automation.turn_on
metadata: {}
data: {}
target:
entity_id: automation.automatik_fur_einzelne_rolladen_blockieren
mode: single
- id: '1747216933289'
alias: Alarmanlag uschalten
description: ''
triggers:
- trigger: zone
entity_id: person.conny_eller
zone: zone.home
event: leave
- trigger: zone
entity_id: person.ben_melchior
zone: zone.home
event: leave
conditions:
- condition: not
conditions:
- condition: zone
entity_id: person.ben_melchior
zone: zone.home
- condition: zone
entity_id: person.conny_eller
zone: zone.home
actions:
- action: notify.mobile_app_iphone
metadata: {}
data:
message: Et as keen méi Dohem. Soll ech d'Alarmanlag uschalten?
title: COBE Haus
data:
actions:
- action: TURN_ON_ALARM
title: Alarm uschalten
- action: NEE
title: Nee
mode: single