I want to show in a custom:button-card the sunrise. But how to get the timezone right. Now time is 1 hour off
custom_fields:
sunrise: |
[[[
var t = states['sun.sun'].attributes.next_rising
var r = t.slice(12, -16);
return r
]]]
output for this is 06:44 and should be 07:44