Skip to content

Commit

Permalink
Update config to v3 (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk authored Dec 17, 2024
1 parent 2f9166f commit 1ff8b9b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions common/rootfs/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF > "$ZIGBEE2MQTT_DATA/configuration.yaml"
homeassistant: true
version: 3
homeassistant:
enabled: true
advanced:
network_key: GENERATE
pan_id: GENERATE
Expand All @@ -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"
Expand Down

0 comments on commit 1ff8b9b

Please sign in to comment.