diff --git a/SomfyProtect2MQTT-dev/rootfs/etc/services.d/SomfyProtect2MQTT/run b/SomfyProtect2MQTT-dev/rootfs/etc/services.d/SomfyProtect2MQTT/run index a01f819..3337262 100755 --- a/SomfyProtect2MQTT-dev/rootfs/etc/services.d/SomfyProtect2MQTT/run +++ b/SomfyProtect2MQTT-dev/rootfs/etc/services.d/SomfyProtect2MQTT/run @@ -11,7 +11,7 @@ bashio::log.info "Generating config.yaml from options.json" echo '# Generated by homeassistant, do not edit!' > /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml.tmp echo '# Edit configuration only at the Add-on configuration tab!' >> /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml.tmp -yq eval -P /data/options.json > output.yaml +yq -P -oy /data/options.json > output.yaml sed 's/ -/ -/' /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml.tmp > /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml bashio::log.info "Configuration :" bashio::log.info "$(cat /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml)" diff --git a/SomfyProtect2MQTT/config.yaml b/SomfyProtect2MQTT/config.yaml index bd2c899..e833146 100644 --- a/SomfyProtect2MQTT/config.yaml +++ b/SomfyProtect2MQTT/config.yaml @@ -1,7 +1,7 @@ --- # https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config name: SomfyProtect2MQTT -version: 2025.1.2a +version: 2025.1.2b slug: somfy-protect-2-mqtt description: Publish Somfy Home Alarm as MQTT messages url: https://github.com/Minims/homeassistant-addons/tree/main/SomfyProtect2MQTT diff --git a/SomfyProtect2MQTT/rootfs/etc/services.d/SomfyProtect2MQTT/run b/SomfyProtect2MQTT/rootfs/etc/services.d/SomfyProtect2MQTT/run index a01f819..3337262 100755 --- a/SomfyProtect2MQTT/rootfs/etc/services.d/SomfyProtect2MQTT/run +++ b/SomfyProtect2MQTT/rootfs/etc/services.d/SomfyProtect2MQTT/run @@ -11,7 +11,7 @@ bashio::log.info "Generating config.yaml from options.json" echo '# Generated by homeassistant, do not edit!' > /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml.tmp echo '# Edit configuration only at the Add-on configuration tab!' >> /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml.tmp -yq eval -P /data/options.json > output.yaml +yq -P -oy /data/options.json > output.yaml sed 's/ -/ -/' /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml.tmp > /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml bashio::log.info "Configuration :" bashio::log.info "$(cat /usr/bin/SomfyProtect2MQTT/somfyProtect2Mqtt/config/config.yaml)"