Update README.md

Update attributes name to pull through the FPS
This commit is contained in:
jacobgibbs 2020-10-19 20:54:54 +01:00 committed by Blake Blackshear
parent dd86e4f317
commit 64e7cbcc62

View File

@ -115,7 +115,7 @@ sensor:
- platform: template
sensors:
<camera_name>_fps:
value_template: '{{ states.sensor.frigate_debug.attributes["<camera_name>"]["fps"] }}'
value_template: '{{ states.sensor.frigate_debug.attributes["<camera_name>"]["camera_fps"] }}'
unit_of_measurement: 'FPS'
<camera_name>_skipped_fps:
value_template: '{{ states.sensor.frigate_debug.attributes["<camera_name>"]["skipped_fps"] }}'