mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
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:
parent
f95d8b6210
commit
cac1faa8ac
@ -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"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user