diff --git a/a3pool.yaml b/a3pool.yaml index 209a6dc..82ed343 100644 --- a/a3pool.yaml +++ b/a3pool.yaml @@ -47,6 +47,7 @@ switch: - platform: template optimistic: false name: pump + id: pump lambda: |- if (id(pump_state).state) { return true; @@ -70,6 +71,24 @@ switch: - delay: 500ms - switch.turn_off: relay +time: + timezone: "Europe/Vienna" + id: a3poolTime + platform: sntp + on_time: + - seconds: 0 + minutes: 0 + hours: 8 + months: 5-10 + then: + - switch.turn_on: pump + - seconds: 0 + minutes: 0 + hours: 8 + months: 5-10 + then: + - switch.turn_off: pump + dallas: - pin: D4 update_interval: 10s