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
|
id: a3poolTime
|
||||||
platform: sntp
|
platform: sntp
|
||||||
on_time:
|
on_time:
|
||||||
- months: 4-10
|
- seconds: 0
|
||||||
|
months: 4-10
|
||||||
then:
|
then:
|
||||||
- if:
|
- if:
|
||||||
condition:
|
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:
|
then:
|
||||||
- switch.turn_on: pump
|
- switch.turn_on: pump
|
||||||
- months: 4-10
|
- seconds: 0
|
||||||
|
months: 4-10
|
||||||
then:
|
then:
|
||||||
- if:
|
- if:
|
||||||
condition:
|
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:
|
then:
|
||||||
- switch.turn_off: pump
|
- switch.turn_off: pump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user