Update of the home assistant integration example

sensor to binary_sensor
device_class type "moving" does not exist, update to "motion"
This commit is contained in:
tubalainen 2019-05-10 16:47:40 +02:00 committed by GitHub
parent f95d8b6210
commit cac1faa8ac
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"
``` ```