fix for hydroponic not working at night
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user