Any way to dynamically change the Location of a Device?

Title says it all.
I can get the from within a handler, but it looks like read-only.

Any idea ?

That’s tied to the hub the device is associated with if I remember correctly, and can’t be changed unless you move (rejoin) the device to another hub.

Actually, what I am trying to do is to assign several Hubs to the SAME Location.
It used to be possible directly from the IDE, then SmartThings changed the interface to allow only 1 Hub per Location…
…which unfortunately is not compatible with a too spread Location, due to the paltry 10m or so of Z-Wave range.