We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53e8700 commit 153af33Copy full SHA for 153af33
plugwise_usb/messages/responses.py
@@ -400,10 +400,10 @@ class NodeImageValidationResponse(PlugwiseResponse):
400
Response to request : NodeImageValidationRequest
401
"""
402
403
- def __init__(self) -> None:
+ def __init__(self, timestamp: datetime | None = None) -> None:
404
"""Initialize NodeImageValidationResponse message object."""
405
super().__init__(b"0010")
406
- self.image_timestamp = UnixTimestamp(0)
+ self.image_timestamp = UnixTimestamp(timestamp)
407
self._params += [self.image_timestamp]
408
409
0 commit comments