Resource template with state_attr('zone.home', 'latitude')

Thnx @verjager for your excellent help. The example of the automation does not work :frowning: . I will use the hardcoded coordinates. Little bit disappointed in how much time I had to spend in such a minor detail!!!

It’s the rest sensor that needs to be updated, the template sensors will update automatically when the rest sensor has the correct data. So the only sensor that you need to have in the update_entity call is:
sensor.sun_moon

What information are you getting from this resource?

Have you seen this integration?