use more sane default (pump always not only at night)
This commit is contained in:
parent
4a86d8c41c
commit
7a841d423b
@ -39,7 +39,7 @@ void Plant::init(void)
|
|||||||
this->mSetting->pPumpAllowedHourRangeEnd->setDefaultValue(20); // stop pumps at 20:00
|
this->mSetting->pPumpAllowedHourRangeEnd->setDefaultValue(20); // stop pumps at 20:00
|
||||||
this->mSetting->pPumpAllowedHourRangeEnd->setValidator([](long candidate)
|
this->mSetting->pPumpAllowedHourRangeEnd->setValidator([](long candidate)
|
||||||
{ return ((candidate >= 0) && (candidate <= 23)); });
|
{ return ((candidate >= 0) && (candidate <= 23)); });
|
||||||
this->mSetting->pPumpOnlyWhenLowLight->setDefaultValue(true);
|
this->mSetting->pPumpOnlyWhenLowLight->setDefaultValue(false);
|
||||||
this->mSetting->pPumpCooldownInSeconds->setDefaultValue(60 * 60); // 1 hour
|
this->mSetting->pPumpCooldownInSeconds->setDefaultValue(60 * 60); // 1 hour
|
||||||
this->mSetting->pPumpCooldownInSeconds->setValidator([](long candidate)
|
this->mSetting->pPumpCooldownInSeconds->setValidator([](long candidate)
|
||||||
{ return (candidate >= 0); });
|
{ return (candidate >= 0); });
|
||||||
|
Loading…
Reference in New Issue
Block a user