def METHOD_NAME(self):
    try:
        self.device = PyTango.gevent.DeviceProxy(self.get_property("pss_tangoname"))
    except PyTango.DevFailed as traceback:
        last_error = traceback[-1]
        logging.getLogger("HWR").error(
            "%s: %s", str(self.name()), last_error["desc"]
        )
        self.device = None
    self.pollingTask = None
    self.initialized = False
    self.__oldValue = None
    self.card = None
    self.channel = None
    PSSinfo = self.get_property("pss_card_ch")
    try:
        self.card, self.channel = map(int, PSSinfo.split("/"))
    except Exception:
        logging.getLogger().error("%s: cannot find PSS number", self.name())
        return
    if self.device is not None:
        self.pollingTask = gevent.spawn(self._do_polling)
    self.connected()