Tuya 3.3 support (fixes #3)

* support tuya 3.3 protocol
* Switch argument order
* Debug logging for demo
* Home Assistant config changes
* Vacuum has a 'power' property
* Formatting changes
* Improve Tuya message repr
* Include socket error in error output.
This commit is contained in:
Richard Mitchell
2019-09-07 20:24:16 +01:00
committed by GitHub
parent 022250dddd
commit c5f392c631
6 changed files with 102 additions and 78 deletions

View File

@@ -15,7 +15,7 @@ bin/pip install -e .
## Demo usage
```
bin/demo DEVICE_ID LOCAL_KEY IP
bin/demo DEVICE_ID IP LOCAL_KEY
```
The demo: