Is there a way with the new API to reference devices by name not ID. For instance the way I’m using ChatGPT I get a name of a device and use that to pass to indigo for action.
I can have a generic code that works for all devices of a type without having to code each specific device.
Having to use ID I would now have to handle each device individually.
Is there a way to include a lookup table in Shortcuts?
Otherwise I think I would need to migrate to python.