mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Update openweathermap.markdown (#12993)
Fixed some typos and made minor improvements.
This commit is contained in:
parent
624fe4518b
commit
2873e68767
@ -18,7 +18,7 @@ There is currently support for the following device types within Home Assistant:
|
|||||||
- [Sensor](#sensor)
|
- [Sensor](#sensor)
|
||||||
- [Weather](#weather)
|
- [Weather](#weather)
|
||||||
|
|
||||||
You need an API key which is free but requires a [registration](https://home.openweathermap.org/users/sign_up).
|
You need an API key, which is free, but requires a [registration](https://home.openweathermap.org/users/sign_up).
|
||||||
|
|
||||||
## Weather
|
## Weather
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ name:
|
|||||||
type: string
|
type: string
|
||||||
default: OpenWeatherMap
|
default: OpenWeatherMap
|
||||||
mode:
|
mode:
|
||||||
description: "Can specify `hourly`, `daily` of `freedaily`. Select `hourly` for a three-hour forecast, `daily` for daily forecast or `freedaily` for a five days forecast with the free tier."
|
description: "Can specify `hourly`, `daily`, or `freedaily`. Select `hourly` for a three-hour forecast, `daily` for daily forecast, or `freedaily` for a five-day forecast with the free tier."
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: "`hourly`"
|
default: "`hourly`"
|
||||||
@ -68,7 +68,7 @@ This platform is an alternative to the [`openweathermap`](/integrations/openweat
|
|||||||
|
|
||||||
The `openweathermap` platform uses [OpenWeatherMap](https://openweathermap.org/) as a source for current meteorological data for your location. The `forecast` will show you the condition in 3h.
|
The `openweathermap` platform uses [OpenWeatherMap](https://openweathermap.org/) as a source for current meteorological data for your location. The `forecast` will show you the condition in 3h.
|
||||||
|
|
||||||
To add OpenWeatherMap sensor to your installation, add the following to your `configuration.yaml` file:
|
To include OpenWeatherMap sensor to your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
@ -95,7 +95,7 @@ forecast:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
language:
|
language:
|
||||||
description: The language in which you want text results to be returned. It's a two-characters string, e.g., `en`, `es`, `ru`, `it`, etc.
|
description: The language in which you want text results to be returned. It's a two-characters string (e.g., `en`, `es`, `ru`, `it`, etc.).
|
||||||
required: false
|
required: false
|
||||||
default: en
|
default: en
|
||||||
type: string
|
type: string
|
||||||
@ -107,23 +107,23 @@ monitored_conditions:
|
|||||||
weather:
|
weather:
|
||||||
description: A human-readable text summary.
|
description: A human-readable text summary.
|
||||||
temperature:
|
temperature:
|
||||||
description: The current temperature.
|
description: Current temperature.
|
||||||
wind_speed:
|
wind_speed:
|
||||||
description: The wind speed.
|
description: Wind speed.
|
||||||
wind_bearing:
|
wind_bearing:
|
||||||
description: The wind bearing.
|
description: Wind bearing.
|
||||||
humidity:
|
humidity:
|
||||||
description: The relative humidity.
|
description: Relative humidity.
|
||||||
pressure:
|
pressure:
|
||||||
description: The sea-level air pressure in millibars.
|
description: Sea-level air pressure in millibars.
|
||||||
clouds:
|
clouds:
|
||||||
description: Description about cloud coverage.
|
description: Description of cloud coverage.
|
||||||
rain:
|
rain:
|
||||||
description: The rain volume.
|
description: Rain volume.
|
||||||
snow:
|
snow:
|
||||||
description: The snow volume.
|
description: Snow volume.
|
||||||
weather_code:
|
weather_code:
|
||||||
description: The current weather condition code.
|
description: Current weather condition code.
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
Details about the API are available in the [OpenWeatherMap documentation](https://openweathermap.org/api).
|
Details about the API are available in the [OpenWeatherMap documentation](https://openweathermap.org/api).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user