python3 main.py
Traceback (most recent call last):
File "main.py", line 9, in
from hubitat import Hubitat
File "/home/Joel/Documents/hubibtpresence/hubibtpresence/hubitat.py", line 13, in
class Hubitat:
File "/home/Joel/Documents/hubibtpresence/hubibtpresence/hubitat.py", line 20, in Hubitat
def get_all_devices(self) -> dict[int, Device]:
TypeError: 'type' object is not subscriptable
EDIT: Eek, should have correctly read the minimum Python version is 3.9.0 (my tired eyes saw this as 3.8.0).
Not sure how to resolve this issue?
python3 main.py Traceback (most recent call last): File "main.py", line 9, in
from hubitat import Hubitat
File "/home/Joel/Documents/hubibtpresence/hubibtpresence/hubitat.py", line 13, in
class Hubitat:
File "/home/Joel/Documents/hubibtpresence/hubibtpresence/hubitat.py", line 20, in Hubitat
def get_all_devices(self) -> dict[int, Device]:
TypeError: 'type' object is not subscriptable
EDIT: Eek, should have correctly read the minimum Python version is 3.9.0 (my tired eyes saw this as 3.8.0).