Merge branch 'main' into cud
This commit is contained in:
commit
f21e0f4108
|
@ -839,7 +839,7 @@ void ac_state_callback(char *topic, uint8_t topic_length, char *payload, unsigne
|
|||
{
|
||||
ac_set_state(ac_mode, ac_temperature, 0);
|
||||
}
|
||||
else if (!strcmp(payload, "low"))
|
||||
else if (!strcmp(payload, "high"))
|
||||
{
|
||||
ac_set_state(ac_mode, ac_temperature, 1);
|
||||
}
|
||||
|
@ -847,7 +847,7 @@ void ac_state_callback(char *topic, uint8_t topic_length, char *payload, unsigne
|
|||
{
|
||||
ac_set_state(ac_mode, ac_temperature, 2);
|
||||
}
|
||||
else if (!strcmp(payload, "high"))
|
||||
else if (!strcmp(payload, "low"))
|
||||
{
|
||||
ac_set_state(ac_mode, ac_temperature, 3);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue