mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Fixing smartair2 protocol implementation if no Wi-Fi (#5238)
This commit is contained in:
parent
0daf4545a9
commit
08013be6dd
1 changed files with 3 additions and 1 deletions
|
@ -178,7 +178,9 @@ void Smartair2Climate::process_phase(std::chrono::steady_clock::time_point now)
|
||||||
break;
|
break;
|
||||||
#else
|
#else
|
||||||
case ProtocolPhases::SENDING_SIGNAL_LEVEL:
|
case ProtocolPhases::SENDING_SIGNAL_LEVEL:
|
||||||
case ProtocolPhases::WAITING_SIGNAL_LEVEL_ANSWER this->set_phase(ProtocolPhases::IDLE); break;
|
case ProtocolPhases::WAITING_SIGNAL_LEVEL_ANSWER:
|
||||||
|
this->set_phase(ProtocolPhases::IDLE);
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
case ProtocolPhases::SENDING_UPDATE_SIGNAL_REQUEST:
|
case ProtocolPhases::SENDING_UPDATE_SIGNAL_REQUEST:
|
||||||
case ProtocolPhases::WAITING_UPDATE_SIGNAL_ANSWER:
|
case ProtocolPhases::WAITING_UPDATE_SIGNAL_ANSWER:
|
||||||
|
|
Loading…
Reference in a new issue