rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.87k stars 554 forks source link

Cannot Modify Entities After Initial Setup W/o Recreating Device (Delete/Add) #1332

Open polskikrol opened 1 year ago

polskikrol commented 1 year ago

Have an Inkbird M1 gateway and once in a while I need to replace the spa thermometer. This connects via bluetooth to the gateway and metrics are available via a different entity numbers. While I can modify a localtuya device and REMOVE an entity, I do not see any way to ADD an entity after initial device setup. Would be useful.

crystal-way commented 1 year ago

I'm also looking for this function. Look's like there is no way to add from UI (did not found).

Also i was trying to find a file, where localtuya stores information about all devices, for inputing these manually, but also could not found. It would be helpful to have option to add over the code, if UI does not support.

crystal-way commented 1 year ago

I found the solution :) You have to go inside the folder ".storage" in your ha main folder, and edit the file "core.config_entries" :) Tried, it works ! :)