check_lifx_response: react to 'LIFX' api response error codes
Description
react to 'LIFX' api response error codes
Usage
check_lifx_response(response)
Arguments
response
the api response received from httr::PUT / POST / GET
Value
depending on the status either: an error; a warning and the response as is; the response as is without any message.