edit fan mode name
This commit is contained in:
parent
cfd220ea1a
commit
572878259c
|
@ -609,7 +609,7 @@ void publish_ac_state()
|
||||||
temp = "cool";
|
temp = "cool";
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
temp = "fan";
|
temp = "fan_only";
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -653,7 +653,7 @@ void ac_state_callback(String topic, String message)
|
||||||
{
|
{
|
||||||
ac_set_state(1, ac_temperature, ac_fan_speed);
|
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);
|
ac_set_state(2, ac_temperature, ac_fan_speed);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue