diff --git a/entrypoint.sh b/entrypoint.sh index 0d7b7ca..102174e 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,7 +12,7 @@ if [ -n "$EXISTS" ]; then sed "s/$IP/$HOMEASSISTANT_IP/g" $HOST_FILE > /tmp/hosts.local mv /tmp/hosts.local $HOST_FILE; else - echo "'$HOMEASSISTANT_IP' '$SELECTOR'" >> $HOST_FILE + echo "$HOMEASSISTANT_IP $SELECTOR" >> $HOST_FILE fi mkdir -p /etc/user/data/homeassistant/config