async def update_price_info(self):
query = gql(<EOL>"""<STR_LIT>"""<EOL>% self.home_id<EOL>)<EOL>price_info_temp = await self._tibber_control.execute(query)<EOL>if not price_info_temp:<EOL><INDENT>_LOGGER.error("<STR_LIT>")<EOL>return<EOL><DEDENT>self._price_info = {}<EOL>self._level_info = {}<EOL>for key in ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>try:<EOL><INDENT>home = price_info_temp["<STR_LIT>"]["<STR_LIT>"]<EOL>current_subscription = home["<STR_LIT>"]<EOL>price_info = current_subscription["<STR_LIT>"][key]<EOL><DEDENT>except (KeyError, TypeError):<EOL><INDENT>_LOGGER.error("<STR_LIT>", key)<EOL>continue<EOL><DEDENT>if key == "<STR_LIT>":<EOL><INDENT>self._current_price_info = price_info<EOL>continue<EOL><DEDENT>for data in price_info:<EOL><INDENT>self._price_info[data.get("<STR_LIT>")] = data.get("<STR_LIT>")<EOL>self._level_info[data.get("<STR_LIT>")] = data.get("<STR_LIT>")<EOL><DEDENT><DEDENT>
Update price info async.