Enhance automations and configuration with new features and improvements
- Added new media player entity for doorbell notifications in automations.yaml. - Refactored automation sequences to include conditional actions based on triggers for sleep mode and KidsRoom. - Updated light and cover actions to improve functionality and responsiveness. - Introduced new scripts for critical notifications and smart shading management in scripts.yaml. - Added new KNX sensors for temperature, wind speed, and illuminance in sensor.yaml. - Created new packages for mobile dashboard and PV to DHW management to streamline automation processes.
This commit is contained in:
478
automations.yaml
478
automations.yaml
@@ -23,6 +23,7 @@
|
||||
entity_id:
|
||||
- media_player.kuche
|
||||
- media_player.gallerie
|
||||
- media_player.buedzemmer
|
||||
data:
|
||||
announce: true
|
||||
media_content_id: media-source://media_source/local/hass_media/doorbell.wav
|
||||
@@ -58,28 +59,6 @@
|
||||
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:
|
||||
@@ -188,6 +167,14 @@
|
||||
- input_boolean.einschlaffmodus
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- input_boolean.schlaffmodus
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
- trigger: time
|
||||
at: '19:00:00'
|
||||
id: KidsRoom
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.rolladenautomatik
|
||||
@@ -196,30 +183,52 @@
|
||||
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
|
||||
- if:
|
||||
- condition: trigger
|
||||
id:
|
||||
- KidsRoom
|
||||
then:
|
||||
- action: cover.close_cover
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
area_id: emil
|
||||
else:
|
||||
- delay:
|
||||
minutes: '{{ range(0, 10) | random }}'
|
||||
- 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:
|
||||
- erdgeschoss
|
||||
entity_id: cover.r_og2_bz_01
|
||||
area_id:
|
||||
- badezimmer
|
||||
- gallerie
|
||||
- millie
|
||||
- action: cover.set_cover_position
|
||||
metadata: {}
|
||||
data:
|
||||
position: 10
|
||||
target:
|
||||
entity_id: cover.r_og2_sz_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: '1743363549729'
|
||||
alias: Rolladen automatisch öffnen
|
||||
@@ -289,16 +298,38 @@
|
||||
- input_boolean.einschlaffmodus
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- input_boolean.schlaffmodus
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
id: Sleepmode
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness: 1
|
||||
target:
|
||||
entity_id:
|
||||
- light.lda_og1_th_01
|
||||
- light.lda_eg_th_01
|
||||
- if:
|
||||
- condition: trigger
|
||||
id:
|
||||
- Sleepmode
|
||||
then:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness: 1
|
||||
target:
|
||||
entity_id:
|
||||
- light.lda_og1_th_01
|
||||
- light.lda_eg_th_01
|
||||
else:
|
||||
- delay:
|
||||
minutes: '{{ range(0, 10) | random }}'
|
||||
- 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
|
||||
@@ -865,7 +896,7 @@
|
||||
- action: cover.set_cover_position
|
||||
metadata: {}
|
||||
data:
|
||||
position: 20
|
||||
position: 10
|
||||
target:
|
||||
entity_id:
|
||||
- cover.r_og1_sz1_01
|
||||
@@ -1149,10 +1180,14 @@
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: time
|
||||
at: '23:00:00'
|
||||
at: 02:00:00
|
||||
id: Daily
|
||||
conditions: []
|
||||
actions:
|
||||
- type: turn_on
|
||||
device_id: 5f704f24d996f22b6a82273e2ee88242
|
||||
entity_id: e79374aabc0af81724658bc488007630
|
||||
domain: switch
|
||||
- device_id: 5f704f24d996f22b6a82273e2ee88242
|
||||
domain: button
|
||||
entity_id: 2929dbf56880c02b94587e368d0b9b4f
|
||||
@@ -1191,49 +1226,6 @@
|
||||
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: ''
|
||||
@@ -1383,7 +1375,7 @@
|
||||
- action: cover.set_cover_position
|
||||
metadata: {}
|
||||
data:
|
||||
position: 20
|
||||
position: 50
|
||||
target:
|
||||
entity_id: cover.r_eg_wc_01
|
||||
- if:
|
||||
@@ -1476,15 +1468,285 @@
|
||||
entity_id: person.conny_eller
|
||||
zone: zone.home
|
||||
actions:
|
||||
- action: notify.mobile_app_iphone
|
||||
- action: script.cobe_haus_benachrichtigung
|
||||
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
|
||||
message: Alarmanlag uschalten! Dass kee méi Dohem!
|
||||
mode: single
|
||||
- id: '1749672504492'
|
||||
alias: DHW PV Boost Einschalten
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- binary_sensor.dhw_pv_boost_active
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 5
|
||||
seconds: 0
|
||||
conditions:
|
||||
- condition: time
|
||||
after: input_datetime.dhw_pv_boost_start
|
||||
before: input_datetime.dhw_pv_boost_end
|
||||
actions:
|
||||
- action: number.set_value
|
||||
metadata: {}
|
||||
data:
|
||||
value: '{{ states(''input_number.dhw_pv_boost_temp'') }}'
|
||||
target:
|
||||
entity_id: number.boiler_dhw_comfort_switch_off
|
||||
- action: select.select_option
|
||||
metadata: {}
|
||||
data:
|
||||
option: high comfort
|
||||
target:
|
||||
entity_id: select.boiler_dhw_comfort_mode
|
||||
- action: script.cobe_haus_benachrichtigung
|
||||
metadata: {}
|
||||
data:
|
||||
message: 'DHW PV-Boost started - Excess: {{ states(''sensor.sh15t_total_export_active_power'')
|
||||
}}kW'
|
||||
title: COBE Haus - DHW PV-Boost
|
||||
mode: single
|
||||
- id: '1749676379350'
|
||||
alias: DHW PV Boost Ausschalten
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- binary_sensor.dhw_pv_boost_active
|
||||
from: 'on'
|
||||
to: 'off'
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 2
|
||||
seconds: 0
|
||||
- trigger: time
|
||||
at: input_datetime.dhw_pv_boost_end
|
||||
conditions: []
|
||||
actions:
|
||||
- action: number.set_value
|
||||
metadata: {}
|
||||
data:
|
||||
value: '55'
|
||||
target:
|
||||
entity_id: number.boiler_dhw_comfort_switch_off
|
||||
- action: select.select_option
|
||||
metadata: {}
|
||||
data:
|
||||
option: eco
|
||||
target:
|
||||
entity_id: select.boiler_dhw_comfort_mode
|
||||
- action: script.cobe_haus_benachrichtigung
|
||||
metadata: {}
|
||||
data:
|
||||
message: DHW PV-Boost stopped - Temperature reached or excess too low
|
||||
title: COBE Haus - DHW PV-Boost
|
||||
mode: single
|
||||
- id: '1751218659966'
|
||||
alias: Whirlpool Bubbels
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- switch.whirlpool_bubbles
|
||||
to: 'on'
|
||||
from: 'off'
|
||||
conditions: []
|
||||
actions:
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 5
|
||||
seconds: 0
|
||||
milliseconds: 0
|
||||
- action: switch.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.whirlpool_bubbles
|
||||
mode: single
|
||||
- id: '1751218899702'
|
||||
alias: Daily Whirlpool Filter
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: time
|
||||
at: '10:00:00'
|
||||
conditions: []
|
||||
actions:
|
||||
- action: switch.turn_on
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.whirlpool_filter
|
||||
mode: single
|
||||
- id: '1752422245913'
|
||||
alias: 'Verfügbarkeit: Whirlpool'
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- switch.whirlpool_power
|
||||
to: unavailable
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 2
|
||||
seconds: 0
|
||||
conditions: []
|
||||
actions:
|
||||
- action: notify.persistent_notification
|
||||
metadata: {}
|
||||
data:
|
||||
title: COBE Haus
|
||||
message: Den Whirlpool as net méi mam WIFI verbonnen!
|
||||
- action: script.cobe_haus_benachrichtigung
|
||||
metadata: {}
|
||||
data:
|
||||
title: COBE Haus
|
||||
message: Den Whirlpool as net méi mam WIFI verbonnen!
|
||||
mode: single
|
||||
- id: '1752422417712'
|
||||
alias: 'Verfügbarkeit: Risco Alarmanlage'
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- alarm_control_panel.cobe_haus
|
||||
to: unavailable
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 2
|
||||
seconds: 0
|
||||
conditions: []
|
||||
actions:
|
||||
- action: notify.persistent_notification
|
||||
metadata: {}
|
||||
data:
|
||||
title: COBE Haus
|
||||
message: Alarmanlage as net méi am Réseaux!
|
||||
- action: script.cobe_haus_benachrichtigung
|
||||
metadata: {}
|
||||
data:
|
||||
title: COBE Haus
|
||||
message: Alarmanlage as net méi am Réseaux!
|
||||
mode: single
|
||||
- id: '1752422778376'
|
||||
alias: 'Risco: Alarm partiel aktivéiert'
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: c13e5c5e52223e7a41d3521847c3617f
|
||||
domain: alarm_control_panel
|
||||
entity_id: 103f47ec3898b4bb5fe3b5b286702cd5
|
||||
type: armed_home
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: script.cobe_haus_benachrichtigung
|
||||
metadata: {}
|
||||
data:
|
||||
title: COBE Haus
|
||||
message: Alarm ass partiel aktivéiert ginn!
|
||||
mode: single
|
||||
- id: '1752422849449'
|
||||
alias: 'Risco: Alarm komplet aktivéiert'
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: c13e5c5e52223e7a41d3521847c3617f
|
||||
domain: alarm_control_panel
|
||||
entity_id: 103f47ec3898b4bb5fe3b5b286702cd5
|
||||
type: armed_away
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: script.cobe_haus_benachrichtigung
|
||||
metadata: {}
|
||||
data:
|
||||
title: COBE Haus
|
||||
message: Alarm ass komplett aktivéiert ginn!
|
||||
mode: single
|
||||
- id: '1752427491606'
|
||||
alias: 'Risco: Alarm ausgeschalt'
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: c13e5c5e52223e7a41d3521847c3617f
|
||||
domain: alarm_control_panel
|
||||
entity_id: 103f47ec3898b4bb5fe3b5b286702cd5
|
||||
type: disarmed
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: script.cobe_haus_benachrichtigung
|
||||
metadata: {}
|
||||
data:
|
||||
title: COBE Haus
|
||||
message: Alarm ass ausgeschalt ginn!
|
||||
mode: single
|
||||
- id: '1752427548457'
|
||||
alias: 'Risco: Alarm ausgeléist'
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: c13e5c5e52223e7a41d3521847c3617f
|
||||
domain: alarm_control_panel
|
||||
entity_id: 103f47ec3898b4bb5fe3b5b286702cd5
|
||||
type: triggered
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: script.cobe_haus_kritische_benachrichtigung
|
||||
metadata: {}
|
||||
data:
|
||||
title: COBE Haus - KRITISCH
|
||||
message: Alarm as ausgeléist ginn !
|
||||
mode: single
|
||||
- id: '1752434002996'
|
||||
alias: Präsenzmelder EG
|
||||
description: ''
|
||||
triggers:
|
||||
- type: motion
|
||||
device_id: ac370a9cf543af6e5b816c4d10262f97
|
||||
entity_id: 05b598d9e6cde098fa14f7e649aaedfb
|
||||
domain: binary_sensor
|
||||
trigger: device
|
||||
- type: motion
|
||||
device_id: 549bb15726fa895ba2718d54686c07db
|
||||
entity_id: 159cce7929f5ca8e5dc7c0bd53c08243
|
||||
domain: binary_sensor
|
||||
trigger: device
|
||||
- type: motion
|
||||
device_id: 5db3893e695787194f6d5de306aff1af
|
||||
entity_id: 46877909625b770266b2139340c111fb
|
||||
domain: binary_sensor
|
||||
trigger: device
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.schlaffmodus
|
||||
state: 'on'
|
||||
- condition: device
|
||||
type: is_off
|
||||
device_id: 7caf75b15749aa7520a3b2aaf2177831
|
||||
entity_id: 505957aeb57b58199dd30b203061e78b
|
||||
domain: remote
|
||||
- condition: numeric_state
|
||||
entity_id: light.lda_eg_ku_01
|
||||
attribute: brightness
|
||||
below: 10
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
brightness_pct: 2
|
||||
target:
|
||||
entity_id: light.lda_eg_ku_01
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 30
|
||||
milliseconds: 0
|
||||
- action: light.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.lda_eg_ku_01
|
||||
mode: restart
|
||||
|
||||
Reference in New Issue
Block a user