I want to write a piston that can be executed via URL to set any device attribute. So far I have the device. But how can I dynamically set an attribute?
I was hoping for something like “device[attribute] = value”.
I want to write a piston that can be executed via URL to set any device attribute. So far I have the device. But how can I dynamically set an attribute?
I was hoping for something like “device[attribute] = value”.