code: def unsubscribe(self):
          
          _LOGGER.info("PubNub unsubscribing")
          self._pubnub.unsubscribe_all()
          self._pubnub.stop()
          self._pubnub = None
docs: Completly stop all pubnub operations.