code: def init_device(self):
          
          Device.init_device(self)
  
          # Add anything here that has to be done before the device is set to
          # its ON state.
  
          self._set_master_state('on')
          self._devProxy = DeviceProxy(self.get_name())
docs: Device constructor.