Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trigger to human or veichle don't work #75

Open
nico1495 opened this issue Feb 28, 2024 · 1 comment
Open

trigger to human or veichle don't work #75

nico1495 opened this issue Feb 28, 2024 · 1 comment

Comments

@nico1495
Copy link

nico1495 commented Feb 28, 2024

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
Copy link
Author

nico1495 commented Feb 28, 2024

If I do external camera entity status update from tools and developers, it detects humans. But the automation code, which seems to be right, doesn't work.
Schermata 2024-02-28 alle 11 56 37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant