Change mobile id

This commit is contained in:
Andre Basche 2024-02-09 20:37:53 +01:00
parent a5595f47bf
commit df27729c2e
5 changed files with 18 additions and 10 deletions

View file

@ -21,6 +21,7 @@ class Hon:
email: Optional[str] = "",
password: Optional[str] = "",
session: Optional[ClientSession] = None,
mobile_id: str = "",
test_data_path: Optional[Path] = None,
):
self._email: Optional[str] = email
@ -29,6 +30,7 @@ class Hon:
self._appliances: List[HonAppliance] = []
self._api: Optional[HonAPI] = None
self._test_data_path: Path = test_data_path or Path().cwd()
self._mobile_id: str = mobile_id
async def __aenter__(self) -> Self:
return await self.create()