rospogrigio / localtuya

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

Cannot add entities if you close the device configuration #1045

Open andretferreira2097 opened 2 years ago

andretferreira2097 commented 2 years ago

I was adding a device that has 5 switches, and by mistake I left "Do not add any more entities" on, I submitted and now I cannot add more entities to that device. The problem is that I was doing this on 10 devices, this was the 9th, and the only way for me to correct it is to delete the integration and start everything all over again, as there is no way to delete the device itself or to Add entities to a device. The YAML configuration file really helped on this to make small adjustments instead of starting everything from scratch.

noob4722019 commented 2 years ago

Same happened to me. Don't attempt creating a second device or you'll end up with https://github.com/rospogrigio/localtuya/issues/1047

guiseco commented 2 years ago

Same thing here. It wouldn't be easier to have access to the configuration file to get a more precise adjustment. This entity editor is really bad. My God.

wietscheb commented 2 years ago

Very Frustrating. Particularly when working with a new device of foreign origin and you need to figure out what the value properties are. Have to start from scratch every time you want to try something different.

frontendbuddy commented 2 years ago

Hey I am new to HA and this integration so I just wanted to ask - where is the device configuration stored? I found out that there are some data in the core.config_entries (I hope I did not mess this up, there are few files) which after edit seem to come back to their previous state. So where is it, Python Cache (guess) ?

CristhoferAlencar commented 2 years ago

I have the same problem. I've tried everything I could think of and no dice. Fortunately for me I was only trying to set the first device, problem is that my whole house is down because of this.

nemetila commented 2 years ago

I have the same problem.