home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.95k stars 7.26k forks source link

Examples please! #34426

Open nzrutman opened 2 months ago

nzrutman commented 2 months ago

Feedback

I could really use an example for how to use an Abode camera in Home Assistant. E.g. CUE package detection event triggers Home Assistant to capture_image and a picture_entity card that displays it. I can't seem to find any examples on the Google.

URL

https://www.home-assistant.io/integrations/abode/

Version

2024.8.2

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @shred86, mind taking a look at this feedback as it has been labeled with an integration (abode) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `abode` can trigger bot actions by commenting: - `@home-assistant close` Closes the feedback. - `@home-assistant rename Awesome new title` Renames the feedback. - `@home-assistant reopen` Reopen the feedback. - `@home-assistant unassign abode` Removes the current integration label and assignees on the feedback, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information) to the feedback. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information) on the feedback.
nzrutman commented 2 months ago

Picture-entity card that captures an image on tap:

show_state: true
show_name: true
camera_view: auto
type: picture-entity
entity: camera.porch_2
tap_action:
  action: perform-action
  perform_action: abode.capture_image
  data:
    entity_id: camera.porch_2

Automation triggered by Abode capture

alias: abode simple
trigger:
  - platform: event
    event_type: abode_capture
    event_data:
      event_type: Video Capture
condition: []
action:
  - data:
      title: "Debug: Abode Automation"
      message: >
        Title: {{ trigger.event.data.event_name }} {{'<br>'}} 
        Camera: {{ trigger.event.data.device_name.lower() }} {{'<br>'}} 
        Time: {{ trigger.event.data.event_utc | as_datetime | as_local }}
    action: notify.persistent_notification

(but how do I get an image from that event??)

github-actions[bot] commented 6 days ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. If this issue is still relevant, please let us know by leaving a comment 👍 This issue has now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.