I have purchased a xiaomi honeywell smoke sensor and i have set it up with the gateway.
After pressing the test button on de smoke sensor i don’t see any state changes of the signal from the sensor.
I have several doorsensors, temperature sensors and wireless switches running without any problems.
The tests appear in the MI Home app, so the connection with the gateway is working.
I try to sent a message with following code but nothing happens, what am i missing?
- alias: 'Melding Rooksensor zolder geactiveerd'
hide_entity: True
trigger:
platform: state
entity_id: binary_sensor.smoke_sensor_xxxxxxx
to: 'on'
action:
- service: notify.alert
data:
message: "Rooksensor geactiveerd , density value: {{states.binary_sensor.smoke_sensor_xxxxxxx.attributes['Density']}}"
data:
push:
sound: "US-EN-Alexa-Smoke-Detected-Generic.wav"