async def update_info(self, *_):
query = gql(<EOL>"""<STR_LIT>"""<EOL>)<EOL>res = await self._execute(query)<EOL>if res is None:<EOL><INDENT>return<EOL><DEDENT>errors = res.get("<STR_LIT>", [])<EOL>if errors:<EOL><INDENT>msg = errors[<NUM_LIT:0>].get("<STR_LIT:message>", "<STR_LIT>")<EOL>_LOGGER.error(msg)<EOL>raise InvalidLogin(msg)<EOL><DEDENT>data = res.get("<STR_LIT:data>")<EOL>if not data:<EOL><INDENT>return<EOL><DEDENT>viewer = data.get("<STR_LIT>")<EOL>if not viewer:<EOL><INDENT>return<EOL><DEDENT>self._name = viewer.get("<STR_LIT:name>")<EOL>homes = viewer.get("<STR_LIT>", [])<EOL>self._home_ids = []<EOL>for _home in homes:<EOL><INDENT>home_id = _home.get("<STR_LIT:id>")<EOL>self._all_home_ids += [home_id]<EOL>subs = _home.get("<STR_LIT>")<EOL>if subs:<EOL><INDENT>status = subs[<NUM_LIT:0>].get("<STR_LIT:status>", "<STR_LIT>").lower()<EOL>if not home_id or status != "<STR_LIT>":<EOL><INDENT>continue<EOL><DEDENT><DEDENT>self._home_ids += [home_id]<EOL><DEDENT>
Update home info async.