Removed the second check on a3pool again.yaml
This commit is contained in:
parent
12f9dea01b
commit
1e35bff570
10
a3pool.yaml
10
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user