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.
This commit is contained in:
569
automations.yaml
569
automations.yaml
@@ -28,7 +28,7 @@
|
||||
media_content_id: media-source://media_source/local/hass_media/doorbell.wav
|
||||
media_content_type: audio/x-wav
|
||||
extra:
|
||||
volume: 0
|
||||
volume: 70
|
||||
- sequence:
|
||||
- action: camera.snapshot
|
||||
metadata: {}
|
||||
@@ -213,7 +213,7 @@
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 30
|
||||
seconds: 45
|
||||
milliseconds: 0
|
||||
- action: automation.turn_on
|
||||
metadata: {}
|
||||
@@ -230,8 +230,10 @@
|
||||
- input_boolean.schlaffmodus
|
||||
from: 'on'
|
||||
to: 'off'
|
||||
id: Sleepmode
|
||||
- trigger: time
|
||||
at: 09:00:00
|
||||
id: Timed
|
||||
conditions: []
|
||||
actions:
|
||||
- action: automation.turn_off
|
||||
@@ -240,19 +242,25 @@
|
||||
stop_actions: true
|
||||
target:
|
||||
entity_id: automation.automatik_fur_einzelne_rolladen_blockieren
|
||||
- action: cover.open_cover
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
floor_id: erdgeschoss
|
||||
area_id:
|
||||
- badezimmer
|
||||
- gallerie
|
||||
- badezimmer_og2
|
||||
- millie
|
||||
- if:
|
||||
- condition: time
|
||||
after: 09:00:00
|
||||
- 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: {}
|
||||
@@ -264,7 +272,7 @@
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 30
|
||||
seconds: 45
|
||||
milliseconds: 0
|
||||
- action: automation.turn_on
|
||||
metadata: {}
|
||||
@@ -286,7 +294,7 @@
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 1
|
||||
brightness: 1
|
||||
target:
|
||||
entity_id:
|
||||
- light.lda_og1_th_01
|
||||
@@ -541,6 +549,11 @@
|
||||
- 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:
|
||||
@@ -559,8 +572,7 @@
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 10
|
||||
transition: 2
|
||||
brightness: 50
|
||||
target:
|
||||
entity_id:
|
||||
- light.lda_eg_th_01
|
||||
@@ -605,8 +617,8 @@
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 10
|
||||
transition: 2
|
||||
brightness: 50
|
||||
target:
|
||||
entity_id:
|
||||
- light.lda_eg_th_01
|
||||
@@ -636,44 +648,13 @@
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 1
|
||||
transition: 2
|
||||
brightness: 1
|
||||
target:
|
||||
entity_id:
|
||||
- light.lda_eg_th_01
|
||||
- light.lda_og1_th_01
|
||||
mode: restart
|
||||
- id: '1743608601041'
|
||||
alias: 3D-Print abgeschloßen
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- sensor.octoprint_current_state
|
||||
from: Printing
|
||||
to: Operational
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.schlaffmodus
|
||||
state: 'off'
|
||||
actions:
|
||||
- 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/3dprint_finish.mp3
|
||||
media_content_type: audio/x-wav
|
||||
extra:
|
||||
volume: 15
|
||||
- action: script.cobe_haus_benachrichtigung
|
||||
metadata: {}
|
||||
data:
|
||||
title: COBE Haus
|
||||
message: Den 3D-Drock as ferdech.
|
||||
mode: single
|
||||
- id: '1743656523388'
|
||||
alias: Präsenzmelder Eingangsbereich
|
||||
description: ''
|
||||
@@ -804,6 +785,34 @@
|
||||
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:
|
||||
@@ -832,10 +841,38 @@
|
||||
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: 1
|
||||
seconds: 0
|
||||
minutes: 0
|
||||
seconds: 45
|
||||
milliseconds: 0
|
||||
- action: automation.turn_on
|
||||
metadata: {}
|
||||
@@ -854,10 +891,30 @@
|
||||
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:
|
||||
@@ -869,7 +926,14 @@
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id: input_boolean.block_r_eg_wz_01
|
||||
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:
|
||||
@@ -891,6 +955,59 @@
|
||||
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'
|
||||
@@ -1027,3 +1144,347 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user