Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit daf4afc

Browse files
authored
fix: Merge pull request #24 from seamapi/device-errors
2 parents 6a85d66 + ba481b9 commit daf4afc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seamapi/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class Device:
4040
location: Optional[Dict[str, Any]]
4141
properties: Any
4242
capabilities_supported: List[str]
43+
errors: List[Dict[str, Any]]
4344

4445
@staticmethod
4546
def from_dict(d: Dict[str, Any]):
@@ -49,6 +50,7 @@ def from_dict(d: Dict[str, Any]):
4950
location=d.get("location", None),
5051
properties=DeepAttrDict(d["properties"]),
5152
capabilities_supported=d["capabilities_supported"],
53+
errors=d["errors"],
5254
)
5355

5456

0 commit comments

Comments
 (0)