From baae0822583fb29e079c57746b047cb602f017a7 Mon Sep 17 00:00:00 2001 From: Der Mundschenk & Compagnie Date: Sat, 11 Nov 2023 15:24:32 +0100 Subject: [PATCH] fix(ignore): Fixes quote type for update JSON attribute discovery (#19668) --- lib/extension/homeassistant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/extension/homeassistant.ts b/lib/extension/homeassistant.ts index a910d391..65c4def1 100644 --- a/lib/extension/homeassistant.ts +++ b/lib/extension/homeassistant.ts @@ -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);