def attach(self, **kwargs):

        if self.media_type in kwargs:
            self.serializer.attach(kwargs[self.media_type])
Turn the device off.
dataset/ETHPy150Open openstack/rack/rack/api/wsgi.py/ResponseObject.attach--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/mysensors.py/MySensorsLightRGBW.turn_off