mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 03:07:14 +00:00
Create norway_air.markdown (#8381)
* Create norway_air.markdown
* Update norway_air.markdown
* Update norway_air.markdown
* ✏️ Tweak
This commit is contained in:
parent
dee2b4d2c9
commit
a3f94c2a26
46
source/_components/norway_air.markdown
Normal file
46
source/_components/norway_air.markdown
Normal file
@ -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 %}
|
Loading…
x
Reference in New Issue
Block a user