From 51552139c8e46076f71f11bc74a85b3f6c54ffe2 Mon Sep 17 00:00:00 2001 From: Cody Cutrer Date: Sat, 3 Feb 2024 14:25:51 -0700 Subject: [PATCH] change default for central_scene value_template for MQTT AD to be a number, not a string, since it's a number data type now refs #3570 --- api/hass/configurations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/hass/configurations.ts b/api/hass/configurations.ts index 30f0e29ff43..80e30151df5 100644 --- a/api/hass/configurations.ts +++ b/api/hass/configurations.ts @@ -46,7 +46,7 @@ const configurations: Record = { object_id: 'scene_state', discovery_payload: { state_topic: true, - value_template: "{{ value_json.value | default('') }}", + value_template: '{{ value_json.value | default(0) }}', }, }, // Light https://www.home-assistant.io/components/light.mqtt