Fix up datei

This commit is contained in:
2025-07-17 22:59:31 +02:00
parent b616a9d7f6
commit b0e212e235
2 changed files with 1 additions and 16 deletions

View File

@@ -1,16 +0,0 @@
#!/usr/bin/with-contenv bash
. /opt/hassio-addons/base.sh
CONFIG_PATH=/data/fahclient
mkdir -p "$CONFIG_PATH"
if [ ! -f "$CONFIG_PATH/config.xml" ]; then
cat > "$CONFIG_PATH/config.xml" << EOC
<config>
<user value="$(hass.config.get 'user')"/>
<team value="$(hass.config.get 'team')"/>
<passkey value="$(hass.config.get 'passkey')"/>
<power value="$(hass.config.get 'power')"/>
<web-enable value="true"/>
<http-addresses value="0.0.0.0:7396"/>
</config>
EOC
fi

View File

@@ -0,0 +1 @@
up