@Depechie wrote:
I want to try to use out the waze travel time in a notification message.
So the Duration attributes ( which is in minutes and has decimals ).I tried:
data_template: title: "Home Assistant" message: "{{ states('sensor.work_to_home.duration') }}"
But I get unknown and
data_template: title: "Home Assistant" message: "{{ states('sensor.work_to_home.duration') | int | timestamp_custom('%H:%M:%S', 0) }}"
Always gives 00 00
So any tips or examples on how to get the data and nicely format this?
Posts: 3
Participants: 2