Fix reverse fanspeed value since test over a real fan at f2f
[apps/hvac.git] / binding / hvac-demo-binding.c
index 14af56b..96b448a 100644 (file)
@@ -137,7 +137,7 @@ static uint8_t read_temp()
 
 static uint8_t read_fanspeed()
 {
-       return hvac_values[3].value;
+       return hvac_values[3].value ^ 0xFF;
 }
 
 static int write_can()