Skip to content

Commit 6bc9a09

Browse files
ArnoutDbouwew
authored andcommitted
Log type Node type in the representation
1 parent 2b99138 commit 6bc9a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/messages/responses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ def frequency(self) -> int:
651651

652652
def __repr__(self) -> str:
653653
"""Convert request into writable str."""
654-
return f"{super().__repr__()[:-1]}, log_address_pointer={self._logaddress_pointer.value})"
654+
return f"{super().__repr__()[:-1]}, hardware={self.hardware[4:10]}, log_address_pointer={self._logaddress_pointer.value})"
655655

656656

657657
class EnergyCalibrationResponse(PlugwiseResponse):

0 commit comments

Comments
 (0)