From 8e61c164c82263c9693d01e73578edba899f99b2 Mon Sep 17 00:00:00 2001 From: Christian Kauer Date: Mon, 8 Jan 2024 17:51:25 +0100 Subject: [PATCH] added rauchmelder Heizungskeller --- .HA_VERSION | 2 +- automations/smoke_sensor.yaml | 27 ++++++++++++++------------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.HA_VERSION b/.HA_VERSION index 5f73c59..cee5dee 100644 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -2023.12.1 \ No newline at end of file +2023.12.3 \ No newline at end of file diff --git a/automations/smoke_sensor.yaml b/automations/smoke_sensor.yaml index 44aa311..1b4f8d4 100644 --- a/automations/smoke_sensor.yaml +++ b/automations/smoke_sensor.yaml @@ -3,15 +3,16 @@ alias: Rauchmelder-Alarm id: 8ce59ed4-f7dd-47a5-a1ab-ada15310fc2d trigger: - - platform: state - entity_id: - - binary_sensor.rauchmelder_buro_christian_smoke_detected - - binary_sensor.rauchmelder_buro_christian_smoke_alarm_test - - binary_sensor.feueralarm_dummy - to: - - 'on' + - platform: state + entity_id: + - binary_sensor.rauchmelder_buro_christian_smoke_detected + - binary_sensor.rauchmelder_buro_christian_smoke_alarm_test + - binary_sensor.feueralarm_dummy + - binary_sensor.rauchmelder_heizungskeller_smoke_detected + - binary_sensor.rauchmelder_heizungskeller_smoke_alarm_test + to: + - "on" - action: - variables: param_entity: "{{trigger.to_state.entity_id}}" @@ -23,14 +24,14 @@ action: # - service: notify.dev_telegram # data: # message: > - # rauchmelder_buro_christian_smoke_detected changed + # rauchmelder_buro_christian_smoke_detected changed # {{ trigger.entity_id }} # from {{ trigger.from_state.state }} to {{ trigger.to_state.state }} # starting "smoke_sensor_script"... - service: script.smoke_sensor_script data: - param_state: "{{trigger.to_state.state}}" - param_entity_id: "{{param_entity}}" - param_test_alert: "{{param_test_alert}}" + param_state: "{{trigger.to_state.state}}" + param_entity_id: "{{param_entity}}" + param_test_alert: "{{param_test_alert}}" -mode: single \ No newline at end of file +mode: single