Fixed bug that A3pool wouldn't turn off
This commit is contained in:
parent
1e35bff570
commit
d38b9b38d7
@ -134,7 +134,7 @@ time:
|
|||||||
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).minute/* && 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