-
- Downloads
Switch to libdyson-based discovery
This is the second part of a three-part change to refactor this code from libpurecool to libdyson. This part replaces the discovery components (e.g; DysonDevice.auto_connect in libpurecool) to the separate API provided by libdyson. This also adapts the libpurecool_adapter shim to have a libdyson-like get_device() method to make switching fully over easier in the next change.
Showing
- BUILD 20 additions, 18 deletionsBUILD
- config.py 30 additions, 10 deletionsconfig.py
- config_test.py 12 additions, 11 deletionsconfig_test.py
- libpurecool_adapter.py 40 additions, 43 deletionslibpurecool_adapter.py
- libpurecool_adapter_test.py 19 additions, 43 deletionslibpurecool_adapter_test.py
- main.py 98 additions, 48 deletionsmain.py
Loading
Please register or sign in to comment