trigger to human or veichle don't work
Opened this issue · 1 comments
nico1495 commented
Hi, I'm trying to write an automation that sends a telegram notification when a Human is detected. I'm sure the code works because the "action" part works great on another automation. I think this integration has some problems. Or am I doing something wrong?
alias: Capture snapshot when person is detected
description: ''
trigger:
- platform: state
entity_id: binary_sensor.esterna_motion
attribute: event_object
to: human
# condition: []
action:
- service: notify.nico
data_template:
message: "ripresa esterna"
data:
photo:
- url: 'http://test.local:8000/image?cameraNxxxxxxxx'
caption: "test human" {{now().strftime("%d.%m.%y - %H:%M:%S")}}
nico1495 commented