Update clock at the beginning of each minute

This was already implemented on #543 but it was lost later:

As it is now, using minutes: "/1", the time will update every minute, but that could happen when lots of seconds has passed on that minute, making possible the displayed time to be up to 59s late.
By changing that to seconds: 0 if forces the update in the same rate, but always in the first second of a minute, keeping the displayed time always updated.
This commit is contained in:
Edward Firmo
2023-04-12 19:25:18 +02:00
committed by GitHub
parent 56f27d1a86
commit 76abf9611d

View File

@@ -3259,7 +3259,7 @@ trigger:
##### Time - Trigger "time_state" #####
- platform: time_pattern
minutes: "/1"
seconds: 0
id: time_state
#### Weather state changed #######