mirror of
https://github.com/Andre0512/pyhOn.git
synced 2026-06-19 20:06:58 +02:00
Change mobile id
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user