Help! Struggling with Xiaomi Door Sensor Automation
I'm pretty new to this awesome software but I'm sure it is something simple that I'm missing. Struggling with the Xiaomi Door Sensors kicking off the automation. Goal is when the front door opens to announce it on my sonos in my basement office (have the same automation for my garage opening and it works great). Here is what I have....
- id: '1551567477256'
alias: Front Door Opens
trigger:
platform: state
entity_id: binary_sensor.door_window_sensor_158d0002a1cca0
to: ’on’
from: ‘off’
condition: []
action:
- alias: SMS2
data:
message: Your Front Door has opened
service: tts.google_say
entity_id: media_player.pool
I know the action is working, I can manually trigger it from the states page
I know the sensor is working in HA, I can see in the logbook "Front Door turned on" "Front Door turned off"
I copied that entity_id from the setting of sensor in HA, should be good there.
In the logbook I don't see the automation task being called after the sensor changes state.
Something is messed up with my trigger? What am I missing? Help!
Posted Mar 4, 2019, 1:23 PM UTC