The problem with the smartwares smoke sensors is that they continuously have the status ‘panic’.
I am trying to solve this by activating a binary sensor.
I managed to activate a timer when the sensor sends a signal.
Only activating the binary sensor does not work, I have tried state ‘active’ and ‘on’
What am I doing wrong?
Automation (works)
# Rookmelders
- alias: rookmelder_keuken
trigger:
- platform: event
event_type: signal_received
event_data: {"entity_id": "sensor.rookmelder_keuken_sensor_status"}
action:
- service: timer.start
data_template:
entity_id: timer.rookmelder_keuken
duration: '60'
Configuration (works not)
# Rookmelder.
binary_sensor:
- platform: template
sensors:
rookmelder_keuken:
friendly_name: "Rookmelder Keuken"
device_class: safety
value_template: >-
{{ is_states('timer.rookmelder_keuken', 'active') }}