The Asakuki diffuser has its speed setting under the 103 DPS and uses "big" for its high setting.
Co-authored-by: Pierre Ståhl <pierre.staahl@gmail.com>
* FIx error that happens when in custom scene
* Remove unnecessary None
* Remove unnecessary None
Co-authored-by: Pierre Ståhl <pierre.staahl@gmail.com>
* Make connection retries every minute
This mimics the re-connect loop previosuly present, but in a simpler
form. Every 60 seconds, a new connection attempt is made as well as
initially when a device is set up.
* Fix device look up in reconnect loop
* Introduced read/store to JSON file of cover's last position for fake positioning
* renamed "fake" positioning to "timed"; introduced timed movement timeout equal to full opening time
* Made waiting for timeout for stopping non-blocking
* Introduced status storing using RestoreEntity
* Fixed postlund's remarks
* Updated cover samples in README and info.md
Forgot to add an await to the close method in pytuya when validating the
device. This results in the connection never being closed after adding a
device, giving "connection resets" until the connection fails, the
device or Home Assistant is restarted.
* 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