From a3f94c2a26f7cfe6af6ee515dbf70606b6391539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=B8yer=20Iversen?= Date: Wed, 13 Feb 2019 21:11:26 +0100 Subject: [PATCH] Create norway_air.markdown (#8381) * Create norway_air.markdown * Update norway_air.markdown * Update norway_air.markdown * :pencil2: Tweak --- source/_components/norway_air.markdown | 46 ++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 source/_components/norway_air.markdown diff --git a/source/_components/norway_air.markdown b/source/_components/norway_air.markdown new file mode 100644 index 00000000000..69ffa681ee0 --- /dev/null +++ b/source/_components/norway_air.markdown @@ -0,0 +1,46 @@ +--- +layout: page +title: "Norway Air Quality" +description: "Display the current status of Norway air quality." +date: 2019-02-02 18:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: metno.png +ha_category: Health +ha_iot_class: "Cloud Polling" +ha_release: 0.88 +--- + +The `norway_air` component [queries](https://luftkvalitet.miljostatus.no/) the Norway air quality [data feed](https://api.met.no/weatherapi/airqualityforecast/0.1/documentation) provided by the Norwegian Meteorological Institute. + +To add air quality sensor to your installation, add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +air_quality: + - platform: norway_air +``` + +{% configuration %} +name: + description: Additional name for the sensor. + required: false + type: string + default: Air quality +forecast: + description: If you want to get forecast data instead of the current data, set this to the number of hours that you want to look into the future. + required: false + type: integer +latitude: + description: Manually specify latitude. + required: false + type: number + default: Provided by Home Assistant configuration +longitude: + description: Manually specify longitude. + required: false + type: number + default: Provided by Home Assistant configuration +{% endconfiguration %}