izacus / hass-swissweather

HomeAssistant module for MeteoSwiss
Apache License 2.0
13 stars 2 forks source link

Cannot create a template sensor with service weather.get_forecast #1

Closed oliskippy closed 2 months ago

oliskippy commented 5 months ago

The format of the service reply (weather.get_forecasts) is slightly different from other weather integrations and templating cannot extract single values like Temperature, Precipitation, etc.

Current reply: forecast: [{'condition': 'sunny', 'datetime': datetime.datetime(2024, 4, 7, 0, 0) ...

Should be: forecast: