3 # (C) 2018 Jan-Simon Möller, dl9pf@gmx.de, jsmoeller@linuxfoundation.org
4 # License: Apache License 2.0
10 # The device is always 0009 -> 9 . Only change is the i2c IF .
11 LED=`echo $1 | sed -e "s#0009#9#g"`
12 if [ $? -eq 0 ] ; then
14 sed -e "s#@DEVICE@#$LED#" /etc/hvac.json.in > /etc/hvac.json
16 echo "Invalid argument"