#!/usr/bin/with-contenv bash # Importiere Home Assistant-Konfigurationsoptionen . /opt/hassio-addons/base.sh # Konfigurationsverzeichnis CONFIG_PATH=/data/fahclient mkdir -p "$CONFIG_PATH" # Erstelle config.xml, falls nicht vorhanden if [ ! -f "$CONFIG_PATH/config.xml" ]; then cat > "$CONFIG_PATH/config.xml" << EOF EOF fi