async def update_version(self):
get_version = GetVersion(pyvlx=self)<EOL>await get_version.do_api_call()<EOL>if not get_version.success:<EOL><INDENT>raise PyVLXException("<STR_LIT>")<EOL><DEDENT>self.version = get_version.version<EOL>get_protocol_version = GetProtocolVersion(pyvlx=self)<EOL>await get_protocol_version.do_api_call()<EOL>if not get_protocol_version.success:<EOL><INDENT>raise PyVLXException("<STR_LIT>")<EOL><DEDENT>self.protocol_version = get_protocol_version.version<EOL>PYVLXLOG.warning(<EOL>"<STR_LIT>",<EOL>self.version, self.protocol_version)<EOL>
Retrieve version and protocol version from API.