diff --git a/src/main.cpp b/src/main.cpp index f6c5de3..efd3f90 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -609,7 +609,7 @@ void publish_ac_state() temp = "cool"; break; case 2: - temp = "fan"; + temp = "fan_only"; default: break; } @@ -653,7 +653,7 @@ void ac_state_callback(String topic, String message) { ac_set_state(1, ac_temperature, ac_fan_speed); } - else if (message.compareTo("fan") == 0) + else if (message.compareTo("fan_only") == 0) { ac_set_state(2, ac_temperature, ac_fan_speed); }