From 6a97215a04aadb72559ae8083cf882a4261e4df9 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 27 Oct 2021 00:40:26 +0200 Subject: [PATCH] fix for hydroponic not working at night --- esp32/include/PlantCtrl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esp32/include/PlantCtrl.h b/esp32/include/PlantCtrl.h index bbf6a68..2dd6f50 100644 --- a/esp32/include/PlantCtrl.h +++ b/esp32/include/PlantCtrl.h @@ -145,6 +145,9 @@ public: bool isAllowedOnlyAtLowLight(void) { + if(this->isHydroponic()){ + return false; + } return this->mSetting->pPumpOnlyWhenLowLight->get(); }