Skip to content

Commit

Permalink
Fix update_all_devices() method
Browse files Browse the repository at this point in the history
  • Loading branch information
webdjoe committed Dec 28, 2024
1 parent c44011a commit 212e3a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyvesync/vesync.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,6 @@ def update_energy(self, bypass_check=False) -> None:

def update_all_devices(self) -> None:
"""Run `get_details()` for each device and update state."""
devices = list(self._dev_list.keys())
devices = list(self._dev_list.values())
for dev in chain(*devices):
dev.get_details()
dev.update()

0 comments on commit 212e3a4

Please sign in to comment.