From c161a8d259da84a71da4e77bd9787ee9c2799b71 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 21 Aug 2022 13:49:46 +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 fbe2a37..216c3e4 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 | to_yaml }}" - legacy_triggers: "{{ zigbee2mqtt_homeassistant_legacy_triggers | bool | to_yaml }}" + legacy_entity_attributes: {{ zigbee2mqtt_homeassistant_legacy_entity_attributes | bool }} + legacy_triggers: {{ zigbee2mqtt_homeassistant_legacy_triggers | bool }} {% endif %} mqtt: