Skip to content

Commit 1ff8b9b

Browse files
authored
Update config to v3 (#675)
1 parent 2f9166f commit 1ff8b9b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

common/rootfs/docker-entrypoint.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ if ! bashio::fs.file_exists "$ZIGBEE2MQTT_DATA/configuration.yaml"; then
5151
mkdir -p "$ZIGBEE2MQTT_DATA" || bashio::exit.nok "Could not create $ZIGBEE2MQTT_DATA"
5252

5353
cat <<EOF > "$ZIGBEE2MQTT_DATA/configuration.yaml"
54-
homeassistant: true
54+
version: 3
55+
homeassistant:
56+
enabled: true
5557
advanced:
5658
network_key: GENERATE
5759
pan_id: GENERATE
@@ -65,7 +67,7 @@ if bashio::config.has_value 'watchdog'; then
6567
fi
6668

6769
export NODE_PATH=/app/node_modules
68-
export ZIGBEE2MQTT_CONFIG_FRONTEND='{"port": 8099}'
70+
export ZIGBEE2MQTT_CONFIG_FRONTEND='{"enabled":true,"port": 8099}'
6971

7072
if bashio::config.true 'disable_tuya_default_response'; then
7173
bashio::log.info "Disabling TuYa default responses"

0 commit comments

Comments
 (0)