We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b327302 commit 4c574dfCopy full SHA for 4c574df
api/src/util/mqtt.util.js
@@ -271,7 +271,7 @@ module.exports.recognize = (data) => {
271
message: JSON.stringify({
272
name: `double_take_${camera}`,
273
icon: 'mdi:camera',
274
- value_template: '{{ value_json.personCount }}',
+ value_template: '{{ value_json.counts.person }}',
275
state_topic: `${MQTT.TOPICS.HOMEASSISTANT}/sensor/double-take/${camera}/state`,
276
json_attributes_topic: `${MQTT.TOPICS.HOMEASSISTANT}/sensor/double-take/${camera}/state`,
277
availability_topic: 'double-take/available',
0 commit comments