You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Class to discover all switchbots, all curtain bots or all bot (woHand) (#23)
* New class to fetch all switchbot device data for all devices in range.
* Method to return all switchbot info
* Update __init__.py
* Update __init__.py
* Refactor code into methods
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Add invert for switch, cleanup variable names
* Add method for spesific mac to Switchbots class, inverse isOn check, add get is calibrated to main switchbot class.
* Add temperature sensor to discovery. (I have no way to test this)
* Update __init__.py
* Update setup.py
* Remove waiting time. This can be handled by hassio
* Restructured switchbot base class for device discovery and single poll for all device updates.
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Prevent additional runs if update fails.
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update setup.py
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
* Update switchbot/__init__.py
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
* New class for device scanning.
* Changed scan timeout and retry count to use same variable format as rest of class.
* Handle _connect, _writekey and _disconnect via CONNECT_LOCK.
* SwitchbotDevice only returns data if update is called, btle interface can be specified on scanning methods.
-Add basic error handling to prevent key errors on discovery exceptions.
* Small key reference fix in GetSwitchbotDevices class.
* Cleanup pointless error handling code.
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
0 commit comments