Allow temp and wind units to be specified separately if required.

This commit is contained in:
Malcolm Oakes
2019-06-07 15:27:08 +01:00
parent 2970568eab
commit a619fc4fef
9 changed files with 48 additions and 37 deletions

6
CHANGELOG.md Normal file → Executable file
View File

@@ -14,10 +14,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Added
Added UK Met Office Datapoint feed as a provider in the default weather module.
- added new provider class
- added suncalc.js dependency to calculate sun times (not provided in datapoint feed)
- added "ukunits": temp in degrees C, wind speed in MPH, precipitation in %
- added suncalc.js dependency to calculate sun times (not provided in UK Met Office feed)
- added "tempUnits" and "windUnits" to allow, for example, temp in metric (i.e. celsius) and wind in imperial (i.e. mph). These will override "units" if specified, otherwise the "units" value will be used.
- use Feels Like temp from feed if present
- optionally display precipitation in current weather
- optionally display probability of precipitation (PoP) in current weather (UK Met Office data)
### Updated