🏠 View Real-Time Vacuum Maps In Home Assistant.
This component adds a new camera which polls the Tuya Cloud API for the latest realtime map data.
This project is primarily focused on Lefant vacuums, but aims to support all Tuya vacuums.
To install this integration manually, add the contents of custom_components
to your Home Assistants custom_components
folder and reboot.
- Install HACS if its not already installed.
- Add this repository to HACS by following this guide: HACS: Add Custom Repository.
- Search for this integration using the HACS browser inside Home Assistant, and install.
This is a list of tested devices. Create a new issue to add your device.
Device | Support |
---|---|
Lefant M1 |
It's recommended to set up a development environment if you want to make changes to this component.
- Once the devcontainer is created, fork this repository.
- Go to the folder containing the
homeassistant-core
folder, it should be calledworkspaces
. - Once your fork is created, make sure your terminal path is set to
/workspaces
and rungit clone <url>
. - To make testing easier, create a symlink to the component in your Home Assistant devcontainer.
- Example:
ln -s /workspaces/tuya-vacuum-maps/custom_components/tuya_vacuum_maps /workspaces/homeassistant-core/config/custom_components
- Example:
- For development, it's recommended you use a virtual environment.
- Create a new virtual environment (Run in the root
/tuya-vacuum-maps
folder):python -m venv venv
- Activate the virtual environment:
source ./venv/bin/activate
- Create a new virtual environment (Run in the root