async def _get_home_data(self):
<EOL>from bs4 import BeautifulSoup<EOL>home_data = {}<EOL>try:<EOL><INDENT>async with async_timeout.timeout(<NUM_LIT:10>):<EOL><INDENT>raw_res = await self._session.get(HOME_URL,<EOL>timeout=self._timeout)<EOL><DEDENT><DEDENT>except OSError:<EOL><INDENT>raise PyEboxError("<STR_LIT>")<EOL><DEDENT>content = await raw_res.text()<EOL>soup = BeautifulSoup(content, '<STR_LIT>')<EOL>limit_node = soup.find('<STR_LIT>', {'<STR_LIT:class>': '<STR_LIT>'})<EOL>if limit_node is None:<EOL><INDENT>raise PyEboxError("<STR_LIT>")<EOL><DEDENT>raw_data = [d.strip() for d in limit_node.text.split("<STR_LIT:/>")]<EOL>if len(raw_data) != <NUM_LIT:2>:<EOL><INDENT>raise PyEboxError("<STR_LIT>")<EOL><DEDENT>try:<EOL><INDENT>home_data["<STR_LIT>"] = float(raw_data[<NUM_LIT:1>].split()[<NUM_LIT:0>])<EOL><DEDENT>except ValueError:<EOL><INDENT>home_data["<STR_LIT>"] = <NUM_LIT:0.0><EOL><DEDENT>except OSError:<EOL><INDENT>raise PyEboxError("<STR_LIT>")<EOL><DEDENT>try:<EOL><INDENT>str_value = soup.find("<STR_LIT>", {"<STR_LIT:class>": "<STR_LIT>"}).text.split()[<NUM_LIT:0>]<EOL>home_data["<STR_LIT>"] = float(str_value)<EOL><DEDENT>except OSError:<EOL><INDENT>raise PyEboxError("<STR_LIT>")<EOL><DEDENT>try:<EOL><INDENT>str_value = soup.find("<STR_LIT>", {"<STR_LIT:id>": "<STR_LIT>"}).attrs.get("<STR_LIT>")<EOL>home_data["<STR_LIT>"] = float(str_value)<EOL><DEDENT>except OSError:<EOL><INDENT>raise PyEboxError("<STR_LIT>")<EOL><DEDENT>return home_data<EOL>
Get home data.