'Turn off RGB or RGBW child device.'

def _turn_off_rgb_or_w(self, value_type=None, value=None):

    if (float(self.gateway.protocol_version) >= 1.5):
        set_req = self.gateway.const.SetReq
        if (self.value_type == set_req.V_RGB):
            value = '000000'
        elif (self.value_type == set_req.V_RGBW):
            value = '00000000'
    return {ATTR_VALUE_TYPE: self.value_type, ATTR_VALUE: value}
