Setting the off time to 20h in the pump_default script but still
invoking it at 19h didn't work very well. It turned the pump back
*on* again at 19h. After it had turned off nicely at about 18h.
Set it back to 19h as before
auto t = id(sntp_time).now();
if (t.is_valid()) {
ESP_LOGD("pump_default", "Setting pump switch at %dh", t.hour);
- if (t.hour >= 7 && t.hour < 20)
+ if (t.hour >= 7 && t.hour < 19)
id(pool_pump).turn_on();
else
id(pool_pump).turn_off();