xZetsubou / hass-localtuya

🔹 A Home Assistant integration to handle Tuya devices locally "fork from localtuya"
https://xzetsubou.github.io/hass-localtuya/
GNU General Public License v3.0
360 stars 37 forks source link

[Bug]: #237

Closed pvtex closed 3 months ago

pvtex commented 3 months ago

LocalTuya Version

3.2.5.1

Home Assistant Version

2024.5.3

Environment

What happened?

i have added a neatsvor X600 vacuum. all sensors are mapped right, but the battery percent is not shown.

Steps to reproduce.

add a neatsvor X600 vacuum

Relevant log output

No response

Diagnostics information.

Mapping the battery level manually to DP8 fixed the problem.

xZetsubou commented 3 months ago

Post the device diagnostics...

pvtex commented 3 months ago

Here is the diag file after manually addingvrhe battery level GP localtuya-65912e68e51b7bc10b8cd7b9d93e6cd3-Neatsvor.X600-92fcc02dc59153ad9a182d06002756e9.json

xZetsubou commented 3 months ago

Normally there shouldn't be "battery sensor", because the vacuum entity it self contains the battery level

pvtex commented 3 months ago

Yes the vacuum entity should Contain the battery level but i did not. I had to msnually add GP8. Perhabs of the name residual_electricity

xZetsubou commented 3 months ago

Oh correct I misunderstood, Thanks.

pvtex commented 3 months ago

Thank you for adding it to the next release