mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-03 01:28:58 +00:00
1.7 KiB
1.7 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release |
---|---|---|---|---|---|---|---|---|---|---|
page | YR | Instructions how to integrate Yr.no within Home Assistant. | 2016-01-04 14:00 | true | false | true | true | yr.png | Weather | 0.11 |
The yr
platform uses YR.no as an source for current meteorological data for your location. The
weather forecast is delivered by the Norwegian Meteorological Institute and the NRK.
To add YR to your installation, add the following to your configuration.yaml
file:
# Will show a symbol for the current weather as default:
sensor:
platform: yr
# Will show temperatue and wind direction:
sensor:
platform: yr
monitored_conditions:
- temperature
- windDirection
# Will show all available sensors:
sensor:
platform: yr
monitored_conditions:
- temperature
- symbol
- precipitation
- windSpeed
- pressure
- windDirection
- humidity
- fog
- cloudiness
- lowClouds
- mediumClouds
- highClouds
- dewpointTemperature
Configuration variables:
- monitored_conditions array (Optional): Conditions to display in the frontend.
- symbol: A symbol for the current weather.
- temperature: The current temperature.
- humidity: The relative humidity.
- fog: Fog.
- pressure: The sea-level air pressure in millibars.
- precipitation: The precipitation.
- dewpointTemperature: The dew point temperature.
- windSpeed: The wind speed.
- windDirection: Where the wind is coming from in degrees, with true north at 0° and progressing clockwise.
- cloudiness: The cloudiness.
- lowClouds: Low cloud level.
- mediumClouds: Medium cloud level.
- highClouds: High cloud level.