mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-14 07:38:51 +00:00
fix(ignore): Fixes quote type for update JSON attribute discovery (#19668)
This commit is contained in:
committed by
GitHub
parent
c8dcd716ab
commit
baae082258
@@ -1200,7 +1200,7 @@ export default class HomeAssistant extends Extension {
|
||||
latest_version_template: `{{ value_json['update']['latest_version'] }}`,
|
||||
json_attributes_topic: `${settings.get().mqtt.base_topic}/${entity.name}`, // state topic
|
||||
json_attributes_template:
|
||||
`{'in_progress': {{ iif(value_json['update']['state'] == 'updating', 'true', 'false') }} }`,
|
||||
`{"in_progress": {{ iif(value_json['update']['state'] == 'updating', 'true', 'false') }} }`,
|
||||
},
|
||||
};
|
||||
configs.push(updateSensor);
|
||||
|
||||
Reference in New Issue
Block a user