Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
# Custom Time & Date Template
template:
- sensor:
- name: "Datum Uhrzeit"
state: >
{% set wochentag = ["Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"] %}
{% set monat = ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"] %}
{% set wochentag = wochentag[now().weekday()] %}
{% set monat = monat[now().month - 1] %} {{ wochentag }}, der {{ now().day }} {{ monat }} {{now().year}} {{now().timestamp() | timestamp_custom('%-X') }} Uhr
icon: "mdi:calendar-clock"