def _turn_off_rgb_or_w(self, value_type=None, value=None):
        if float(self.gateway.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}
Turn off RGB or RGBW child device.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/mysensors.py/MySensorsLight._turn_off_rgb_or_w