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: