From 1ff8b9b7994a0051a64eea4ea1d6b4f6bb87a431 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Tue, 17 Dec 2024 22:32:03 +0100 Subject: [PATCH] Update config to v3 (#675) --- common/rootfs/docker-entrypoint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/rootfs/docker-entrypoint.sh b/common/rootfs/docker-entrypoint.sh index 4e1e789ab..00b7080fa 100755 --- a/common/rootfs/docker-entrypoint.sh +++ b/common/rootfs/docker-entrypoint.sh @@ -51,7 +51,9 @@ if ! bashio::fs.file_exists "$ZIGBEE2MQTT_DATA/configuration.yaml"; then mkdir -p "$ZIGBEE2MQTT_DATA" || bashio::exit.nok "Could not create $ZIGBEE2MQTT_DATA" cat < "$ZIGBEE2MQTT_DATA/configuration.yaml" -homeassistant: true +version: 3 +homeassistant: + enabled: true advanced: network_key: GENERATE pan_id: GENERATE @@ -65,7 +67,7 @@ if bashio::config.has_value 'watchdog'; then fi export NODE_PATH=/app/node_modules -export ZIGBEE2MQTT_CONFIG_FRONTEND='{"port": 8099}' +export ZIGBEE2MQTT_CONFIG_FRONTEND='{"enabled":true,"port": 8099}' if bashio::config.true 'disable_tuya_default_response'; then bashio::log.info "Disabling TuYa default responses"