OpenWeatherMap - two locations

Hi!
I tried to add a second location but i wasn’t able to add it sucessfully.
Home Base works with installed Addon of OpenWeatherMap (i entered API, Long. and Lat.) but if i add a new “Weather” entry (in YAML) with Long. and Lat., i cannot see it.

weather 2:
  - platform: openweathermap
    api_key: 1151....
    latitude: -29.688188
    longitude: -53.815202
    name: second home base

Is it possible to have to locations or not?

Any hints?

Br

Configured in the UI it works well…

afbeelding

2 Likes

Thx! Works perfect and I don’t know why I wasn’t able to add it… Sorry for the post!
Cheers

1 Like

Hello!

Where does OWM store the API key and geo position in HA? Is it possible to place them elsewhere, i.e. in a secrets.yaml file?

The OWM configuration is stored in /homeassistant/.storage/core.config_entries

Is it possible to place them elsewhere, i.e. in a secrets.yaml file?

Sorry to bother once more:

Is it possible to place them elsewhere, i.e. in a secrets.yaml file?