Change icon color based on sensor value

Ah, I thought that could be another but undefined variable.