- Create the following folder structure: /config/custom_components/miio2 and place all files there 4 files there.
- Add the configuration to configuration.yaml, example:
vacuum:
- platform: miio2
host: 192.168.68.105
token: !secret vacuum
name: Mi hihi