code: def fade_out(self, duration=3):
          
          super(RgbLight, self).fade_out(duration)
          self.off()
docs: Turns off the light by gradually fading it out.
          The optional `duration` parameter allows for control
          of the fade out duration (in seconds)