Hi all,
I have Home Assistant set to English language. I would like to know if there’s a way to switch the language to Italian just for a single card while keeping everything else in English.
Specifically, I have a custom button card which is used to display date and time and I would like to be able to display the date in Italian.
This is the template I have in my configuration.yaml which I am using for the “date_and_time” sensor:
# Custom Time & Date Template
template:
- sensor:
- name: "Date and time"
state: "{{ as_timestamp(states('sensor.date_time_iso')) | timestamp_custom('%a %d %B %Y, %H:%M') }}"
icon: "mdi:calendar-clock"
And this is what I would like to translate in Italian (name of the day and name of the month, circled in red):
Thanks