Merge pull request #33 from tubalainen/patch-3

Update of the home assistant integration example
This commit is contained in:
Blake Blackshear 2019-05-11 07:14:01 -05:00 committed by GitHub
commit f4587462cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,12 +62,12 @@ camera:
platform: generic platform: generic
still_image_url: http://<ip>:5000/<camera_name>/best_person.jpg still_image_url: http://<ip>:5000/<camera_name>/best_person.jpg
sensor: binary_sensor:
- name: Camera Person - name: Camera Person
platform: mqtt platform: mqtt
state_topic: "frigate/<camera_name>/objects" state_topic: "frigate/<camera_name>/objects"
value_template: '{{ value_json.person }}' value_template: '{{ value_json.person }}'
device_class: moving device_class: motion
availability_topic: "frigate/available" availability_topic: "frigate/available"
``` ```