docs: def _connected(self, transport, conn):
          """Login and sync the ElkM1 panel to memory."""
          LOG.info("Connected to ElkM1")
          self._conn = conn
          self._transport = transport
          self._connection_retry_timer = 1
          if url_scheme_is_secure(self._config['url']):
              self._conn.write_data(self._config['userid'], raw=True)
              self._conn.write_data(self._config['password'], raw=True)
          self.call_sync_handlers()
          if not self._config['url'].startswith('serial://'):
              self._heartbeat = self.loop.call_later(120, self._reset_connection)