Compare commits

..

No commits in common. "f21e0f41089fb02890b1df9833dc879ab092856e" and "bb4346e82141fb01dd67e7f8cf8f68af82c1bc13" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -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); ac_set_state(ac_mode, ac_temperature, 0);
} }
else if (!strcmp(payload, "high")) else if (!strcmp(payload, "low"))
{ {
ac_set_state(ac_mode, ac_temperature, 1); 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); ac_set_state(ac_mode, ac_temperature, 2);
} }
else if (!strcmp(payload, "low")) else if (!strcmp(payload, "high"))
{ {
ac_set_state(ac_mode, ac_temperature, 3); ac_set_state(ac_mode, ac_temperature, 3);
} }