XiaoMi Water Purifier component for Home Assistant.
- Copy custom_components/mi_water_purifier to .homeassistant/custom_components/.
- Get the IP of your sensor.
- Follow Retrieving the Access Token guide to get the token of your sensor
sensor:
- platform: mi_water_purifier
host: YOUR_SENSOR_IP
token: YOUR_SENSOR_TOKEN
name: YOUT_SENSOR_NAME