Change template to use the day (#19440)

This commit is contained in:
Fabian Affolter 2021-09-27 20:17:01 +02:00 committed by GitHub
parent 1be725f8a9
commit 0b693f92e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ sensor:
sensors:
time_formatted:
friendly_name: "Date and time"
value_template: "{{ as_timestamp(states('sensor.date_time_iso')) | timestamp_custom('%A %B %-m, %I:%M %p') }}"
value_template: "{{ as_timestamp(states('sensor.date_time_iso')) | timestamp_custom('%A %B %-d, %I:%M %p') }}"
icon_template: mdi:calendar-clock
```