I have a few devices I've connected via Tuya Local. The key seems to change upon removing/re-adding to an account. Definitely not burnt-in like a MAC address.
In the past I've just re-installed the Tuya app when I've added a new device, but I also have concerns about Tuya disabling local control in future so I'm trying to avoid Tuya stuff and run esphome instead where possible.