Weather unit conversion (#1376)

This commit is contained in:
G Johansson 2022-06-28 10:44:18 +02:00 committed by GitHub
parent f2f7009e58
commit 108d697ce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,14 @@ Properties should always only return information from memory and not do I/O (lik
| wind_bearing | float or string | `None` | The current wind bearing in azimuth angle (degrees) or 1-3 letter cardinal direction. | 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.
### Unit Conversion
Properties have to follow the units mentioned on the respective unit of measurement in the table. Properties have to follow the units mentioned on the respective unit of measurement in the table.
For the user, properties will be presented according to the unit system set by the user.
The user also has the option to override the units for each weather entity.
### Forecast ### Forecast
Forecast data should either be daily or hourly. Forecast data should either be daily or hourly.