mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-16 08:04:25 -04:00
Change mobile id
This commit is contained in:
parent
a5595f47bf
commit
df27729c2e
5 changed files with 18 additions and 10 deletions
|
@ -19,10 +19,14 @@ _LOGGER = logging.getLogger(__name__)
|
|||
|
||||
class HonConnectionHandler(ConnectionHandler):
|
||||
def __init__(
|
||||
self, email: str, password: str, session: Optional[aiohttp.ClientSession] = None
|
||||
self,
|
||||
email: str,
|
||||
password: str,
|
||||
mobile_id: str = "",
|
||||
session: Optional[aiohttp.ClientSession] = None,
|
||||
) -> None:
|
||||
super().__init__(session=session)
|
||||
self._device: HonDevice = HonDevice()
|
||||
self._device: HonDevice = HonDevice(mobile_id)
|
||||
self._email: str = email
|
||||
self._password: str = password
|
||||
if not self._email:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue