I am currently trying to write a task that changes a boolean value (developerMode) within a device.
To update the device, I was directed towards Octave.Device.update(deviceID, deviceDiff). I am able to get the deviceID, but I’m unsure what object should be used for deviceDiff. When putting in an object for deviceDiff that is associated with the boolean value I’m trying to change, I get the error, ‘Unknown error has occurred.’
I am wondering if anyone could enlighten me on how to properly use this function since the documentation is sparse.
https://rest.octave.dev/#device-update