Met Office


The metoffice weather platform uses the Met Office’s [DataPoint API][datapoint] for weather data.

Configuration

To add the Met Office weather platform to your installation, you’ll need to register for a free API key at the link above and then add the following to your configuration.yaml file:

# Example configuration.yaml entry
weather:
  - platform: metoffice
    api_key: YOUR_API_KEY

Configuration Variables

api_key

(string)(Required)Your personal API key from the Datapoint website.

name

(string)(Optional)Additional name for the weather component in Home Assistant.

Default value: Met Office

latitude

(float)(Inclusive)Latitude coordinate to monitor weather of (required if longitude is specified), defaults to coordinates defined in your configuration.yaml.

longitude

(float)(Inclusive)Longitude coordinate to monitor weather of (required if latitude is specified), defaults to coordinates defined in your configuration.yaml.

This platform is an alternative to the metoffice sensor. The weather platform is easier to configure but less customizable.