edit fan mode name

This commit is contained in:
Siwat Sirichai 2023-09-13 12:03:35 +07:00
parent cfd220ea1a
commit 572878259c
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}