diff --git a/a3pool.yaml b/a3pool.yaml index c519858..bb9108f 100644 --- a/a3pool.yaml +++ b/a3pool.yaml @@ -121,18 +121,20 @@ time: id: a3poolTime platform: sntp on_time: - - months: 4-10 + - seconds: 0 + months: 4-10 then: - if: condition: - lambda: 'return id(a3poolTime).now().hour == id(pool_start).hour && id(a3poolTime).now().minute == id(pool_start).minute && id(a3poolTime).now().second == id(pool_start).second && id(control).state;' + lambda: 'return id(a3poolTime).now().hour == id(pool_start).hour && id(a3poolTime).now().minute == id(pool_start).minute/* && id(a3poolTime).now().second == id(pool_start).second*/ && id(control).state;' then: - switch.turn_on: pump - - months: 4-10 + - seconds: 0 + months: 4-10 then: - if: condition: - lambda: 'return id(a3poolTime).now().hour == id(pool_end).hour && id(a3poolTime).now().minute == id(pool_end).hour && id(a3poolTime).now().second == id(pool_end).second && id(control).state;' + lambda: 'return id(a3poolTime).now().hour == id(pool_end).hour && id(a3poolTime).now().minute == id(pool_end).hour/* && id(a3poolTime).now().second == id(pool_end).second*/ && id(control).state;' then: - switch.turn_off: pump