Original code by @nqkdev, then I forked it and added HACS support.
Next steps were checking forks of original repository and backporting changes in order to provide most feature-complete Home Assistant integration for STYJ02YM.
- Install it with HACS
- Add the configuration to configuration.yaml, example:
Add to configuration.yaml
:
vacuum:
- platform: miio2
host: 192.168.68.105
token: !secret vacuum
name: Mi hihi