def kdeconnector(self):
        """
        Get the current state and return it.
        """
        if self._init_dbus():
            (text, color) = self._get_text()
        else:
            text = UNKNOWN_DEVICE
            color = self.py3.COLOR_BAD

        response = {
            "cached_until": self.py3.time_in(self.cache_timeout),
            "full_text": text,
            "color": color,
        }
        return response
Get the current state and return it.