* Add support for passive devices
* Fix a few issues
* Fix broken handling of closing a connection
This fixes the following error:
AttributeError: 'NoneType' object has no attribute 'write'
* Always use discovery broadcasts to trigger connects
From now on there's no connect loop but all attempts are initiated by
received discovery messages.
* Fix cancelling of heartbeat task
* Verify entry has been loaded before connecting
* Don't reset seqno when switching to type_d device
* Introduced time-difference-based method for cover fake positioning
* Time-difference-based method for cover fake positioning now supports also movement inversion
* 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 <tdavis@nersc.gov>
Co-authored-by: Pierre Ståhl <pierre.staahl@gmail.com>
* 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 <tdavis@nersc.gov>
* Make set_dps available.
* Adding RGB support, brightness fix, color_temp range.
* Update README for light options
* Formatting
* Formatting
* Need to force to white to ensure color picker is updated.
* Detect color mode RGB/HSV based on color length.
* Extract rgb encoded color check in method.
* Make check method private.
* Fix exception when color is not available (maybe when powered off)
* Reformat.