apetrycki / daikinskyport

API for accessing a DaikinOne+ Thermostat
63 stars 27 forks source link

Get rid of time on weather forecast #26

Closed knightjoel closed 1 year ago

knightjoel commented 3 years ago

This is trickier than I thought it might be. The HA frontend has a condition that looks to see if a "low temperature" value is present in the forecast data. If it's not, the frontend assumes the forecast is an hourly forecast and formats the datetime with time included.

The problem of course is the skyport API doesn't return a low temperature.

Possible ways forward:

  1. Submit a PR for the HA frontend which makes it possible to display a daily forecast without a low temperature
  2. Send a dummy low temperature (maybe just set it to the high temperature?) from daikinskyport to trick the frontend into showing a daily forecast
apetrycki commented 1 year ago

Looks like this has been fixed