Hallo,
ich habe einen Homematic Rauchmelder, den ich lokal im HA integriert habe. Um eine Alarmmeldung zu haben, bekomme ich eine Info aufs Iphone, eine Nachricht in HA und lasse Lampen rot blinken!
alias: Alarm Rauchmelder
description: ""
triggers:
- type: smoke
device_id: 128c8d88eac96c6befe406fd6bed
entity_id: f8c9fb82737ea327ca7cd453167d
domain: binary_sensor
trigger: device
conditions: []
actions:
- action: notify.mobile_app_iphone_14
metadata: {}
data:
message: Rauchmelder im Keller ausgelöst
data:
push:
sound:
name: default
critical: 1
volume: 1
enabled: true
- action: input_boolean.turn_on
metadata: {}
target:
entity_id: input_boolean.alarm_rauchmelder_kg_vorratskeller
data: {}
- repeat:
count: 5
sequence:
- target:
entity_id: light.smart_mat
data:
rgb_color:
- 255
- 0
- 0
brightness: 255
action: light.turn_on
- delay:
hours: 0
minutes: 0
seconds: 1
- target:
entity_id: light.smart_mat
action: light.turn_off
data: {}
- delay:
hours: 0
minutes: 0
seconds: 1
mode: single
Mein Problem ist, sobald ich die Nachricht auf dem Handy bekomme und wegdrücke, schaltet sich die Automatisation ab.
Die Anzeige der Nachricht erfolgt wie folgt auf dem Desktop:
type: custom:button-card
entity: automation.alarm_rauchmelder
name: Alarm! Rauchmelder!
icon: mdi:email
show_state: false
visibility:
- condition: state
entity: automation.alarm_rauchmelder
state: "on"
styles:
card:
- background-color: red
- border-radius: 12px
- padding: 10px
name:
- color: white
- font-size: 20px
- font-weight: bold
icon:
- color: white
- width: 20px
- height: 20px
Wo liegt der Fehler?
Danke Euch!