reduced settings

This commit is contained in:
2020-10-20 22:52:03 +02:00
parent 667eb0d275
commit 0a473173f8
6 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ public:
* @return false
*/
bool isPumpRequired() {
return (this->mSetting->pSensorWet != NULL) && (this->mValue < this->mSetting->pSensorWet->get());
return (this->mSetting->pSensorDry != NULL) && (this->mValue < this->mSetting->pSensorDry->get());
}
HomieInternals::SendingPromise& setProperty(const String& property) const {