Hi.
I am quite desperate as i cannot find a clue how to configure weather.
Integration met.no is there, but the standard weather panel shows up with “unknown”
Then i got myself an api key of openweather.org,
but it is hard to find out where in configuration.yaml i should insert this:
weather:
‘- platform:openweathermap' ' api_key:
`myapikey’
I tried and home assistant looked as if would not start anymore.
My config has the structure:
default_config:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
weather: – these lines
- platform: openweathermap – lead to
api_key: ff859871a… – non starting HA
mqtt:
…
tts:
…
switch:
…virtual switches
homeassistant:
packages:
pack_1: !include …
google_assistant:
I often find snippets for the config file, but there is never emntioned what would be the right position to insert it. Have often had a non starting HA because of that.
So where should i insert the weather and sensor information,
which in the case of openweather.org is
sensor:
- platform : openweathermap
api_key: xx2x3f6w85…
monitored_conditions: - weather`
- temperature