Commit Graph
2 Commits
Author SHA1 Message Date
3e52811aac Fan controller updates (#155)
* Fan controller updates.

This updates the fan controller to be more dynamic on which dp's it uses.

Fan speeds can 1,2,3,4 or low,medium,mid,high,auto.  Fans with more
than 3 speeds is not supported by Home Assistant.

Variable speed fans are not supported at this time.

* rename set_dps -> set_dp

* change to use self._dp_id instead of a fixed dp

Co-authored-by: Thomas Davis <[email protected]>
Co-authored-by: Pierre Ståhl <[email protected]>
2020-11-16 07:10:02 +01:00
ThomasADavisandThomas Davis e137d598f0 This makes sure that any scaling is only applied to numeric values. (#154)
* This makes sure that any scaling is only applied to numeric values.

* Updates fan controller.

This adds support for 3 speed fans, 4 speeds fan (with choice of 3 of the 4 speeds),
fans speed of 1,2,3,4 or low,medium,mid,high, and auto.

Fans that have variable speeds, or greater than 4 speeds is not supported
at this time.  HA does not support variable speed fans and more than 3 speeds.

* Revert "Updates fan controller."

This reverts commit 00352da2de72d02977d8a7d3780aabf4f28ee0fa.

Co-authored-by: Thomas Davis <[email protected]>
2020-11-15 18:49:08 +01:00