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