I have this Automation Setup to turn on my shed lights when I enter the specified area I have created, but it does not trigger.
Nest Cam sent me a notification so I know the zone is working.
id: '1546096782981'
alias: If Garden Cam Detects Motion in Shed Zone Turn On Shed Lights
trigger:
- entity_id: binary_sensor.garden_gam_camera__zshed_activity
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
brightness: 154
entity_id: group.shed_lights
service: light.turn_on
I used the Automation Editor and have other Automatons for another nest cam in specified zones which work. Any ideas?
Can you not see the binary_sensor in the frontend? If not, go to the States page and find it in the list. You should see its current state, which will update as the entity changes. Also, if you click on the box with the arrow in it to the left of the entity, you should see the last 24 hours of history of the entity. Do you see it has changed at all?
EDIT: BTW, since the automation is on, if the trigger happens, then the action should run. And since when you manually trigger the automation, the lights go on, that tells you that the action part of the automation is correct. The only other possibility then is that the trigger is not coming. Either binary_sensor.garden_gam_camera__zshed_activity is not changing from ‘off’ to ‘on’, or you misspelled its name.