Skip to content

Commit ce4a102

Browse files
authored
fix doorstate json response
1 parent 7ecd484 commit ce4a102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymyq/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def get_status(self, device_id):
194194
self.logger.error("MyQ - API Error[get_status] %s", ex)
195195
return False
196196

197-
doorstate = doorstate['AttributeValue']
197+
doorstate = doorstate.json()['AttributeValue']
198198

199199
garage_state = self.DOOR_STATE[doorstate]
200200

0 commit comments

Comments
 (0)