code: def _on_client_disconnect(self, data):
          
          self._clients[data.get('id')].update_connected(False)
          _LOGGER.info('client %s disconnected', self._clients[data.get('id')].friendly_name)
docs: Handle client disconnect.