Query or set a saturation value for a light
saturation can be found in the following systems :
To query the value of the saturation capability from a device implementing it, use the following request :
HEADERS Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
GET https://sandbox.api.iotcl.pro/v1.0/myrgblamp/light/addressLocation/plants/da912079034c44ce814651de720e9ff0/modules/parameter/id/value/423a5107223541e6b1f05966321eb76c/
                
                
                
                
200: OK
{
  "id":"423a5107223541e6b1f05966321eb76c",
  "name":"My Device",
  "status":[
    {
      "capability":"saturation",
      "value":"0"
    }
  ]
}
                
                where "value" can be : any value between 0 and 254
To execute the saturation capability for a device implementing it, use the following request :
HEADERS Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
POST https://sandbox.api.iotcl.pro/v1.0/myrgblamp/light/addressLocation/plants/da912079034c44ce814651de720e9ff0/modules/parameter/id/value/423a5107223541e6b1f05966321eb76c/
{
  "status":[
    {
      "capability":"saturation",
      "value":"0"
    }
  ]
}
                
                                    where "value" can be : any value between 0 and 254
200: OK