Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial support for xiaomi gateway devices (#470)
* WIP: gateway support thanks to dgi (dustcloud fame) and javascript miio lib * add set_gateway_volume, slight fixes * port over to the new cli api, remove MessageNet which was supposed only for testing * Added more light controls for gateway (#624) * added color and brightness functionality * added command to set both color and brightness * linting fixes * Fully finish the GatewayAlarm class and fix style issues (#633) * add new line * remove To Do comment Since this does not have to do with the gateway (I think) * Fully finish the GatewayAlarm class * black fix styles * fix hound issue * flake8 was wrong, black is wright * ignore flake8 E203 error since black handles that * Turning --> Turn Co-Authored-By: Teemu R. <tpr@iki.fi> * Turning --> Turn Co-Authored-By: Teemu R. <tpr@iki.fi> * add type return Co-Authored-By: Teemu R. <tpr@iki.fi> * add flake8 exception for single line * remove global flake8 ignore * add extra space * add return types * fix return types * datatime.datetime is unknown type * remove print() * Reorganize classes * Use parent and improve init * Add Xiaomi Aqara Gateway to readme Co-authored-by: Teemu R. <tpr@iki.fi> * Cleanup gateway for initial release * fix import sorting Co-authored-by: Maksim Melnikov <approximatenumber@gmail.com> Co-authored-by: starkillerOG <starkiller.og@gmail.com>
- Loading branch information