Hi,
New user so forgive my ignorance.
I have a sensor like this:
sensor:
- name: "Uno-X Fossen"
json_attributes_path: "$..[?(@.name=='Uno-X Fossen')].stationDetails..[?(@.type=='95')]"
value_template: "{{ state_attr('sensor.uno_x_fossen', 'price') }}"
force_update: true
json_attributes:
- "price"
- "lastUpdated"
Now I’m trying to use the attribute lastUpdated in a card. But I don’t know how to convert this into a local time and use it in cards. Any pointers?