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:
@@ -3259,7 +3259,7 @@ trigger:
|
|||||||
|
|
||||||
##### Time - Trigger "time_state" #####
|
##### Time - Trigger "time_state" #####
|
||||||
- platform: time_pattern
|
- platform: time_pattern
|
||||||
minutes: "/1"
|
seconds: 0
|
||||||
id: time_state
|
id: time_state
|
||||||
|
|
||||||
#### Weather state changed #######
|
#### Weather state changed #######
|
||||||
|
|||||||
Reference in New Issue
Block a user