File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
rootfs/etc/services.d/vcontrold Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->
22
3+ ## 1.8.1
4+
5+ - Added vclient error handling
6+
37## 1.8.0
48
59- Set vcontrol host&port as optional configuration
Original file line number Diff line number Diff line change 11# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
22name : Vcontrol add-on
3- version : " 1.8.0 "
3+ version : " 1.8.1 "
44slug : vcontrold
55description : Vcontrol add-on
66url : " https://github.com/Alexandre-io/homeassistant-vcontrol"
Original file line number Diff line number Diff line change 4040 R='"$R'$i'"'
4141 fi
4242
43- echo 'mosquitto_pub -h $MQTT_HOST -p $MQTT_PORT -u $MQTT_USER -P $MQTT_PASSWORD -t $MQTT_TOPIC/$C'$i' -m '$R'' >> /etc/vcontrold/2_mqtt.tmpl
44-
43+ echo 'if [ "x$E'$i'" = x ]; then' >> /etc/vcontrold/2_mqtt.tmpl
44+ echo ' mosquitto_pub -h $MQTT_HOST -p $MQTT_PORT -u $MQTT_USER -P $MQTT_PASSWORD -t $MQTT_TOPIC/$C'$i' -m '$R'' >> /etc/vcontrold/2_mqtt.tmpl
45+ echo 'fi' >> /etc/vcontrold/2_mqtt.tmpl
4546done
4647
4748# Set device ID
You can’t perform that action at this time.
0 commit comments