Skip to content

Commit 64a157e

Browse files
committed
Update config
1 parent 2f9166f commit 64a157e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

common/rootfs/docker-entrypoint.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ 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+
homeassistant:
55+
enabled: true
5556
advanced:
5657
network_key: GENERATE
5758
pan_id: GENERATE
@@ -65,7 +66,7 @@ if bashio::config.has_value 'watchdog'; then
6566
fi
6667

6768
export NODE_PATH=/app/node_modules
68-
export ZIGBEE2MQTT_CONFIG_FRONTEND='{"port": 8099}'
69+
export ZIGBEE2MQTT_CONFIG_FRONTEND='{"enabled":true,"port": 8099}'
6970

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

0 commit comments

Comments
 (0)