Add the following to your config
- platform: template
sensors:
vacuum_battery:
value_template: '{{ states.vacuum.yourvacuum.attributes.battery_level }}'
Than you will have an sensor with the battery value
Add the following to your config
- platform: template
sensors:
vacuum_battery:
value_template: '{{ states.vacuum.yourvacuum.attributes.battery_level }}'
Than you will have an sensor with the battery value
Yes same problem here. I can not edit my map at all so right now i am unsure if I rather have all features in the lefant app or have it added to my tuya and lose many features. I think it will be the first option on long term and it really annoys me.
I have a Lefant M2 vacuum integrated into HA thru Tuya. Everything works fine except that I don’t have the good states from the vacuum (always specified “unknown”). But the Lefant commands works fine. Any idea how to fix that in HA ?
Just added my Lefant N3 under the Tuya integration. Found the whole process of switching from the Lefant app to the Tuya app to be painless. I didnt have to remove the vacuum from the Lefant app first, just held down the power button for a few seconds, then added a new device to the Tuya app.
I didnt have to follow @Kayinwonderland’s instructions to add the battery status, it was already in the integration.
Installed GitHub - oven-lab/tuya_cloud_map_extractor: Tuya cloud vacuum map extractor for Home Assistant to provide the mapping functionality. Creating the Tuya IoT cloud project was a bit painful as the GitHub instructions weren’t comprehensive but I managed to muddle my way through. Unfortunately it isn’t a live map, which could be a limitation of the integration or the Lefant vacuum, but hopefully that’s something that can be fixed.
The path the vacuum takes to clean the house is far less efficient than the Lefant app. It doesnt finish a whole room before moving on to another room, it then doubles back and does the rest. Not a major issue as long as the whole house is cleaned, but I think it will use a lot more battery as a result.
I’m having the same issue of not being able to edit the map or set no go zones with my lefant M1 using Tuya instead of the lefant app.