apetrycki / daikinskyport

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

climate.fan_mode always set to on instead of high, medum, or low when circulation is on #32

Closed tlykken closed 12 months ago

tlykken commented 2 years ago

Looking at my climate state, even though the valid fan modes are as follows:

fan_modes:
  - auto
  - 'on'
  - low
  - medium
  - high
  - Schedule

If circulation is enabled, the fan_mode is always on. I believe this should be set to the speed of the fan, i.e. high, medium or low.

Looking at the return for the daikin api, I believe the proper attribute to use to pull for this is 'fanCirculateSpeed'. While pulling, the number represented is 0 = low, 1 = medium, and 2 = high.

apetrycki commented 12 months ago

Fixed in the latest