-
Notifications
You must be signed in to change notification settings - Fork 28
[BUG] #109
Description
Describe the bug
Using the example code provided in the documentation results in an error message when attempting to log in using device authentication.
Original exception was:
Traceback (most recent call last):
File "/home/eternity/Documents/Miner/miner.py", line 72, in
session = Hive(
^^^^^
TypeError: Hive.init() got an unexpected keyword argument 'deviceGroupKey'
Expected behavior
The program should complete logging in and continue to provide a temperature reading from my thermostat. If I log in using 2fa instead it does work.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
session = Hive(
username="myme@here.com",
password="MyPassword",
deviceGroupKey="GroupKey",
deviceKey="DeviceKey",
devicePassword="",
)
session.deviceLogin()
session.startSession()