Skip to content

Commit aa23ac5

Browse files
committed
Update vesyncoutlet.py
1 parent e4b82d8 commit aa23ac5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pyvesync/vesyncoutlet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ def get_details(self) -> None:
195195
else:
196196
logger.debug('Unable to get %s details', self.device_name)
197197

198-
def parse_energy_detail(self, energy):
198+
@staticmethod
199+
def parse_energy_detail(energy):
199200
"""Parse energy details to be compatible with new and old firmware."""
200201
try:
201202
if isinstance(energy, str) and ':' in energy:

0 commit comments

Comments
 (0)