Seit dem Update auf 2025.1.1 funktioniert mein template sensor für den nächsten Sonnenauf-/untergang nicht mehr. Zustand: unavailable
Die Attribute in sun.sun für next_rising bzw. next_setting sind jedoch vorhanden
#################################################################
# SONNENAUF/UNTERGANG
#################################################################
# Nächster Sonnenaufgang
- name: nextsunrise
unique_id: nextsunrise_01HHD9K
state: |
{{ as_timestamp(states.sun.sun.attributes.next_rising) | timestamp_custom(' %H:%M') | replace(" 0", "") }}
# Nächster Sonnenuntergang
- name: nextsunset
unique_id: nextsunset_01HHDA4Q
state: |
{{ as_timestamp(states.sun.sun.attributes.next_setting) | timestamp_custom(' %H:%M') | replace(" 0", "") }}