ciejer / metservice-weather

Metservice New Zealand component for Home Assistant
MIT License
17 stars 0 forks source link

Hourly forecast attribute #72

Closed ProgrammerIamNot closed 2 weeks ago

ProgrammerIamNot commented 1 month ago

Checklist

Is your feature request related to a problem? Please describe.

I can not find a way to have an hourly temperature forecast as a sensor. Is it possible to add it as an attribute or an entity with hourly temperature? I'd like to be able to automate climate control based on the temperature forecast and/or its forecasted trend. I found met.no isn't very accurate, so having the feature for this integration would be nice.

Describe the solution you'd like

As an example met.no integration used to have it but not anymore and as a solution a template sensor can be created as per the post here Then as an example, I use a template to get the temperature two hours from now: {{ state_attr('sensor.weather_hourly', 'forecast')[2].temperature }}

Describe alternatives you've considered

No response

Additional context

Thanks for your consideration. I appreciate the effort put into creating and maintaining this integration.