Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - add ability to capture future / forecasted data to graph (OpenWeathermap forecast data) #929

Closed
DeFlanko opened this issue Feb 21, 2023 · 2 comments

Comments

@DeFlanko
Copy link

With the hours_to_show being historical time, please find a way to add in hours_to_show_future for future data predictions.

In my example, OpenWeatherMap uses future predications for ran precipitation forecasting, it would be nice to see that in a line graph on the upcoming 7 or 10 days

@ildar170975
Copy link
Collaborator

ildar170975 commented Feb 22, 2023

The card uses DB to get data.
This is the only source.
The card will not predict data.

If some integration like OpenWeatherMap creates sensors containing data describing a “future” (like “a set of values for tomorrow”, “a set of values for a day after tomorrow”, …) - then you can create template sensors to keep these forecast data and build your graphs.
Probably you do not want to deal with these template sensors and want the card to extract data from sensors which have differently structured data (for instance, forecast is stored differently in different weather integrations), not to mention a fact that forecast may be stored for days, not hours - then what “hours_to_show_future” do you mean…

In short: if you propose something - then please provide an algorithm which will be universal for different cases.

@ildar170975 ildar170975 added the question Further information is requested label Feb 22, 2023
@ildar170975
Copy link
Collaborator

This mainly about accessing complex attributes.
Implemented in #996.
Closing

@ildar170975 ildar170975 removed the question Further information is requested label Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants