1
0
Fork 0

[bin] Fix output of co2 panel

main
Sebastian Schulze 2022-09-26 09:25:08 +02:00
parent 49a3e81712
commit cf1cccfc04
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ if JSON=$(curl --fail-early --connect-timeout 1 -s 'http://victoriametrics.dorha
elif [ $VALUE -ge 1000 ]; then
COLOR="#E5E9F0"
else
COLOR="#"
COLOR="#2E3440"
fi;
echo "<span color='${COLOR}'>${VALUE}</span>"
echo "<span color='${COLOR}'>${VALUE}ppm</span>"
else
echo "fail";
fi;