core: New meteo_france sensor not working

Home Assistant release with the issue: Home Assistant 0.82.0

Operating environment (Hass.io/Docker/Windows/etc.): Hass.io / DietPi

Component/platform: New Sensor Meteo France New merge

Description of problem: If a postal_code is shared by several cities (it’s possible in France, eg : 01700), sensor not work and return error.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

  - platform: meteo_france
    postal_code: !secret postal_code
    monitored_conditions:
      - temperature
      - weather
      - wind_speed
      - next_rain

Traceback (if applicable):

Error: no forecast for the query `960`

Additional information: By the way if the weather component could be created to be use with Lovelace Weather Card it will be awesome.

cc @victorcerutti

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Hi everyone. Sorry it took so long. The PR review team was overwhelmed and my update was stuck in limbo. It’s back on track now and I really hope it will be released in the next version.

So, what’s coming with this update:

  1. Weather card for Lovelace
  2. Easier configuration (city option will be a query, meaning you can specify a postal code, a city name or both to be sure you get the expected results)
  3. Supports for worldwide cities ex: city: Luxembourg or city: Brest, Bielorussie

Caveats:

This is going to be a breaking change as the configuration will move from a sensor one to a whole meteo_france component. Be sure to look at the blog post and refer at the new documentation when updating

Just so you know, it’s live since wednesday Hope it fixes all your issues and fulfills your awaited features

3. About the weather card for lovelace The Météo-France weather component is in progress. It works on my development environment and > I hope it will be released on the next version of Home Assistant in 2 weeks

Some updates ? I was going to post a bug report when realised it was already on the task list ! Thanks 😉

@adamotte I don’t know if there is a standard for this. If you need sensor for multiple locations, then it’s convenient to have them named by city. you could have sensor.paris_temperature along with sensor.lyon_temperature which are easy to read and make automations with Without naming the city you would have sensor.meteo_france_temperature and sensor.meteo_france_temperature_1

@anthosz It currently only work with cities from France I will add to the to-do list the possibility to add weather datas from the world