Skip to content

duckhawk/xiaomi_vacuum

 
 

Repository files navigation

xiaomi_vacuum

Home Assistant custom component for Vacuum 1C SKV4073CN (mijia.vacuum.v2).

Based on https://github.com/DavidConnack/xiaomi_vacuum

Using https://github.com/rytilahti/python-miio for the protocol.

Installation

  • Add the custom_components/xiaomi_vacuum folder to /config/custom_components/
  • Add xiaomi_vacuum_card.png to /config/www/Vacuum/
  • Add sensor_xiaomi_vacuum.yaml to /config
  • Add to configuration.yaml:
vacuum:
  - platform: xiaomi_vacuum
    host: <ip>
    token: "<token>"
    name: <name>

template: !include sensor_xiaomi_vacuum.yaml

To retrieve the token, follow the default integration instructions.

  • Restart Home Assistant
  • Add content of lovelace-card.yaml to a custom card

Home Assistant 2026.x

The component uses VacuumEntityFeature and VacuumActivity from Home Assistant 2025.10+. Battery level is exposed as a state attribute for template sensors instead of the deprecated vacuum battery_level property.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%