Stuffed up localtuya sensors by scale of 10

I added these plugs into localtuya and didn’t scale it properly.
image

Where are the scale defined in the files so I can edit and add them? Because to otherwise delete and add each of these would take 50 clicks per plug, and hours. Not to mention breaking related items.

I looked in core.entity_registry but I don’t see any line in there.

The value is as reported by the integration. You’ll need the integration to be updated to provide correct values.

Yes, where is that saved. When I add the device there’s a field to type the scale.
I can’t find where that is stored. Nothing in custom_components\localtuya has a file mod date of today

I guess it is in .storage.

At what stages do these files get saved? I’d need to edit, then restart it w/o HA overwriting when I press restart.

The correct approach is to remove the device and then add it again.

The files are somewhere in .storage/ but you shouldn’t edit them.