code refactoring: use the defined states of header file

This commit is contained in:
Ollo
2022-08-21 11:59:50 +02:00
parent 5d24a51bd9
commit c444117853
4 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ public:
return this->mSetting->pPumpOnlyWhenLowLight->get();
}
void publishState(String state);
void publishState(int stateNumber, String stateString);
bool switchHandler(const HomieRange &range, const String &value);