I’m trying to figure out how to increment a number template using time. When I view the elapsed_time entity in HA, it never changes from 0. I’m assuming it’s a syntax issue but I’m not able to figure it out. Help please?
number:
- platform: template
name: "Elapsed time"
id: elapsed_time
optimistic: true
min_value: 0
max_value: 100
step: 1
time:
- platform: sntp
on_time:
- seconds: /5
then:
- number.increment: elapsed_time