Forecast for hours of sunshine #197
johndoe0815
started this conversation in
Ideas
Replies: 1 comment 4 replies
|
This is a good idea. For this I'll have to implement some kind of caching. Good news is, that I already have this on my todo list, as I need this for another feature idea. However I don't know when I find time for this, so until then I have to ask for your patience. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
weather.get_forecasts seems to not include any information on amount of sunshine/sun duration, although https://github.com/FL550/dwd_weather?tab=readme-ov-file#additional-sensor-entities indicates that it should
There is a deactivated sunshine duration sensor which I activated, but that seems to only contain the forecast for the current hour (or next 60 minutes?!). This sensor has attributes of forecasted sunshine duration in seconds per hour, so I guess somehow one could build a sum over those values, but the attribute values for the past also disappear within the day.
I have done data extraction only with the get_forecasts service, so would be helpful to have that value part of the general weather entity.
In the end my aim is to have one number for hours of sunshine for a day.
All reactions