Monstergerm wrote:TemperatureLow bug in DailyForecast device:
Dark Sky reports a TemperatureLow and a TemperatureMin. If you look at the timestamp for each readings you can see that TemperatureLow is actually for the following day in the morning, while TemperatureMin is the correct reading for the current day in the morning. The plugin currently reports TemperatureLow but should report TemperatureMin.
TemperatureHigh and TemperatureMax seem to be identical readings. So it does not matter which one to report.
Thanks, but I'm not too sure about this one. According to the Dark Sky API:
temperatureHigh optional, only on daily
The daytime high temperature.
temperatureHighTime optional, only on daily
The UNIX time representing when the daytime high temperature occurs.
temperatureLow optional, only on daily
The overnight low temperature.
temperatureLowTime optional, only on daily
The UNIX time representing when the overnight low temperature occurs.
temperatureMax optional, only on daily deprecated
The maximum temperature during a given date.
temperatureMaxTime optional, only on daily deprecated
The UNIX time representing when the maximum temperature during a given date occurs.
temperatureMin optional, only on daily deprecated
The minimum temperature during a given date.
temperatureMinTime optional, only on daily deprecated
The UNIX time representing when the minimum temperature during a given date occurs.
So my reading of the docs is that temperatureLow is prospective once today's low has passed. Moreover, temperatureMin is going to go away at some point. I think we gotta stick with temperatureHigh and temperatureLow. Let me know if you think that's off base.