Added self-managed time control to a3pool.yaml #1

Merged
NBSgamesAT merged 4 commits from test_time into main 2022-07-12 12:14:40 +00:00
Showing only changes of commit 774016bbfb - Show all commits

View File

@ -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