Adds a timezone and automatic pump control. Further control coming soon
This commit is contained in:
parent
05a93e2aa5
commit
774016bbfb
19
a3pool.yaml
19
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
|
||||
|
Loading…
Reference in New Issue
Block a user