fix for hydroponic not working at night

This commit is contained in:
Your Name 2021-10-27 00:40:26 +02:00
parent 2c8645121e
commit 6a97215a04

View File

@ -145,6 +145,9 @@ public:
bool isAllowedOnlyAtLowLight(void) bool isAllowedOnlyAtLowLight(void)
{ {
if(this->isHydroponic()){
return false;
}
return this->mSetting->pPumpOnlyWhenLowLight->get(); return this->mSetting->pPumpOnlyWhenLowLight->get();
} }