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