Add change Device name method
I wanted to add the "PUT" function for changing a device name. Somehow I always get Error: permission deny.
I need to dig deeper into that to find out why.
Might that just be the wrong API to use? The Web UI also throws a lot of weird errors
Did you apply for all the permissions in the cloud API auth section?
At least I tried...
I have the feeling that just the user who registered the device can change names...
I haven't investigated further.
I just wanted a commandline interface that built localtuya configuration out of my linked devices.
I built something like that here: https://github.com/julianbei/tuya-discover
Its not a CLI yet but works like a charm for my purpose