Skip to content

Commit

Permalink
Updating devices failed
Browse files Browse the repository at this point in the history
  • Loading branch information
ehendrix23 committed Feb 13, 2021
1 parent b9a6e07 commit 1b76bc5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pymyq/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,8 @@ async def _get_devices(self) -> None:
f"Updating information for device with serial number {serial_number}"
)
myqdevice = self._devices[serial_number]
myqdevice.update(
device_json=device, state_update_timestmp=state_update_timestmp
)
myqdevice.device_json = device
myqdevice.last_state_update = state_update_timestmp

else:
if device.get("device_family") == DEVICE_FAMILY_GARAGEDOOR:
Expand Down

0 comments on commit 1b76bc5

Please sign in to comment.