Hi,
I tried to change colour depending on a value and get this error.
Error: string > float not implemented
temp_in = data['state']
if temp_in > 20.0:
col_in="#a00" # röd
else:
col_in="#0a0" # grön
I know that the value is in the format xx.x
Any suggestions?
Thanks