Fixed bug that A3pool wouldn't turn off

This commit is contained in:
Nicolas Bachschwell 2024-05-13 22:20:52 +02:00
parent 1e35bff570
commit d38b9b38d7
Signed by: NBSgamesAT
GPG Key ID: 2D73288FF7AEED2F

View File

@ -134,7 +134,7 @@ time:
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).minute/* && id(a3poolTime).now().second == id(pool_end).second*/ && id(control).state;'
then:
- switch.turn_off: pump