From fae7ca08f0847ba71bec7e135ab86bec823d8286 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Tue, 1 Sep 2020 16:39:58 +0200 Subject: [PATCH] Complete weather attributes (#632) * Complete weather attributes * Rword azimuth --- docs/core/entity/weather.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/core/entity/weather.md b/docs/core/entity/weather.md index 25e6c888..fc1b3fe1 100644 --- a/docs/core/entity/weather.md +++ b/docs/core/entity/weather.md @@ -11,13 +11,15 @@ Properties should always only return information from memory and not do I/O (lik | Name | Type | Default | Description | ---- | ---- | ------- | ----------- -| state | string | **Required** | The current weather condition. +| condition | string | **Required** | The current weather condition. | temperature | float | **Required** | The current temperature in °C or °F. +| temperature_unit | string | **Required** | The temperature unit, °C or °F. | pressure | float | `None` | The current air pressure in hPa or inHg. | humidity | float | `None` | The current humidity in %. +| ozone | float | `None` | The current ozone level. | visibility | float | `None` | The current visibility in km or mi. | wind_speed | float | `None` | The current wind speed in km/h or mi/h. -| wind_bearing | string | `None` | The current wind bearing, 1-3 letters. +| wind_bearing | float or string | `None` | The current wind bearing in azimuth angle (degrees) or 1-3 letter cardinal direction. | forecast | array | `None` | Daily or Hourly forecast data. | attribution | string | `None` | The branding text required by the API provider. @@ -35,6 +37,8 @@ Forecast data should either be daily or hourly. | templow | float | `None` | The lower daily Temperature in °C or °F | precipitation | float | `None` | The precipitation amount in mm or inch. | precipitation_probability | int | `None` | The probability of precipitation in %. +| wind_bearing | float or string | `None` | The wind bearing in azimuth angle (degrees) or 1-3 letter cardinal direction. +| wind_speed | int | `None` | The wind speed in km/h or mi/h. ### Recommended values for state and condition