feat: add homeassustant legacy config options
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-08-21 13:39:59 +02:00
parent 08fcf347a9
commit bc3610e268
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 4 additions and 2 deletions

View File

@ -92,6 +92,8 @@ zigbee2mqtt_elapsed: False
zigbee2mqtt_homeassistant_discovery_topic: homeassistant
zigbee2mqtt_homeassistant_status_topic: "hass/status"
zigbee2mqtt_homeassistant_legacy_entity_attributes: False
zigbee2mqtt_homeassistant_legacy_triggers: False
zigbee2mqtt_devices_ban: []
zigbee2mqtt_devices_whitelist: []

View File

@ -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: False
legacy_triggers: False
legacy_entity_attributes: "{{ zigbee2mqtt_homeassistant_legacy_entity_attributes | bool }}"
legacy_triggers: "{{ zigbee2mqtt_homeassistant_legacy_triggers | bool }}"
{% endif %}
mqtt: