Skip to content
This repository was archived by the owner on Dec 29, 2024. It is now read-only.
This repository was archived by the owner on Dec 29, 2024. It is now read-only.

trigger to human or veichle don't work #75

Open
@nico1495

Description

@nico1495

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")}}  

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions