From f9944e9bbf77d8d04171812d6c02658587396a08 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 21 Aug 2022 13:44:57 +0200 Subject: [PATCH] fix: fix bool values in template --- templates/zigbee2mqtt/data/configuration.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/zigbee2mqtt/data/configuration.yaml.j2 b/templates/zigbee2mqtt/data/configuration.yaml.j2 index 964b547..fbe2a37 100644 --- a/templates/zigbee2mqtt/data/configuration.yaml.j2 +++ b/templates/zigbee2mqtt/data/configuration.yaml.j2 @@ -7,8 +7,8 @@ permit_join: {{ zigbee2mqtt_permit_join }} homeassistant: discovery_topic: "{{ zigbee2mqtt_homeassistant_discovery_topic }}" status_topic: "{{ zigbee2mqtt_homeassistant_status_topic }}" - legacy_entity_attributes: "{{ zigbee2mqtt_homeassistant_legacy_entity_attributes | bool }}" - legacy_triggers: "{{ zigbee2mqtt_homeassistant_legacy_triggers | bool }}" + legacy_entity_attributes: "{{ zigbee2mqtt_homeassistant_legacy_entity_attributes | bool | to_yaml }}" + legacy_triggers: "{{ zigbee2mqtt_homeassistant_legacy_triggers | bool | to_yaml }}" {% endif %} mqtt: