Madelena / esphome-weatherman-dashboard

A simple dashboard with weather and NYC subway information for ESPHome
https://community.home-assistant.io/t/use-esphome-with-e-ink-displays-to-blend-in-with-your-home-decor
983 stars 50 forks source link

Update sensor.yaml - for new Weather Forecast Service #19

Open chunkysteveo opened 1 year ago

chunkysteveo commented 1 year ago

With the new HA Weather Forecast service to get the weather, Met.no no longer has the option for an "hourly" entity. new users of this sensor and project won't be able to get the Met.no Hourly entity.

This update adds in the "service: weather.get_forecast" call to get the hourly result. This is then added to the sensor using variable "weather_valhalla_hourly".

It assumes your met.no weather entity is called "weather.valhalla" - adjust accordingly in the action entity_id.