This is a mass device rename utility for Phoscon. You can set unique names for all sensors and lights not only per devices.
python3 rename_sensors.py 'http://phoston_app_url:2080' 'API_KEY'- The first run will dump the current config from the Phoscon to
devices.json - Edit the names in the
devices.jsonw/ your favorite editor