You have two instances of the sensor integration declared in your configuration.yaml file, i.e. two of these hard up against the page margin:
sensor:
The other one is probably something like
sensor: !include sensors.yaml
So that file (sensors.yaml) is where you should put this:
- platform: openweathermap_all
api_key: <redacted>
latitude: <redacted>
longitude: <redacted>