The zero is for the first (current) day in the array, but it does not return any data. Looking at my entity in dev tools it appears like there is no forecast attribute, but I am still able to pull data for forecast in the lovelace weather forecast card (and another weather card) from this entity–just not manually.
Doing some digging I saw that HA is removing the ability to have forecasts as an attribute. If this is the case for my integration, how do I query this data?
Thank you so much! I feel like you got me on the right track! I was able to see the array in dev tools by calling the service, but trying to set up a template sensor yields “unknown” state.
This is the code I am using for template sensors based on the example provided in the documentation:
SOLVED
It appears when I was reloading template entities in dev tools the trigger was not firing on reload but instead after the specified time. So the entities were being created but not updated until the trigger.
I changed the update time to “minutes: /1” and both values populated. Then changed back to the hour trigger.
The response variable is necessary and reflected in the final configuration I used: