Complete weather attributes (#632)

* Complete weather attributes

* Rword azimuth
This commit is contained in:
Martin Hjelmare 2020-09-01 16:39:58 +02:00 committed by GitHub
parent 9846041f25
commit fae7ca08f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,13 +11,15 @@ Properties should always only return information from memory and not do I/O (lik
| Name | Type | Default | Description | 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 | 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. | pressure | float | `None` | The current air pressure in hPa or inHg.
| humidity | float | `None` | The current humidity in %. | humidity | float | `None` | The current humidity in %.
| ozone | float | `None` | The current ozone level.
| visibility | float | `None` | The current visibility in km or mi. | 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_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. | forecast | array | `None` | Daily or Hourly forecast data.
| attribution | string | `None` | The branding text required by the API provider. | 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 | templow | float | `None` | The lower daily Temperature in °C or °F
| precipitation | float | `None` | The precipitation amount in mm or inch. | precipitation | float | `None` | The precipitation amount in mm or inch.
| precipitation_probability | int | `None` | The probability of precipitation in %. | 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 ### Recommended values for state and condition