We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9adab4 commit 36fa92fCopy full SHA for 36fa92f
tahoma_api/models.py
@@ -47,7 +47,7 @@ def __init__(
47
**_: Any
48
) -> None:
49
self.id = deviceurl
50
- self.attributes = [State(**a) for a in attributes] if attributes else None
+ self.attributes = States(attributes) if attributes else None
51
self.available = available
52
self.definition = Definition(**definition)
53
self.deviceurl = deviceurl
0 commit comments