Hello,
I want to use this device HEIMAN HS1SA control via MQTT | Zigbee2MQTT in order to sound the alarm when a motion sensor detect a movement (or a door open)
Basically the trigger in automation to be the movement sensor (o door sensor) and the action to be sound the alarm
As you see in documentation the smoke sensor exposes:
Smoke (binary)
Indicates whether the device detected smoke. Value can be found in the published state on the smoke
property. It’s not possible to read (/get
) or write (/set
) this value. If value equals true
smoke is ON, if false
OFF.
I have tried to do this automatization to force to change the status of the sensor, but is not working (the sensor alarm does not start)
id: '1654703924042'
alias: Possible robbery
description: ''
trigger:
- type: opened
platform: device
device_id: bda8623cd2386e8abc7c84fa6daa44c6
entity_id: binary_sensor.0x00158d0007e58bdf_contact
domain: binary_sensor
condition: []
action:
- condition: state
entity_id: binary_sensor.0x847127fffeaaee94_smoke
attribute: smoke
state: 'true'
for:
hours: 0
minutes: 1
seconds: 0
mode: single