Pyhass / Pyhiveapi

A python library to interface with the hive home api
MIT License
24 stars 18 forks source link

Fix TypeError #67

Closed cdce8p closed 10 months ago

cdce8p commented 1 year ago
>>> bool(["parsed"]["events"][0]["hasRecording"])
<stdin>:1: SyntaxWarning: list indices must be integers or slices, not str; perhaps you missed a comma?
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: list indices must be integers or slices, not str