Skip to content

Commit 1e72e61

Browse files
committed
More fixes
1 parent 1327179 commit 1e72e61

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

plugwise_usb/nodes/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ async def update_node_details(
517517
complete &= self._update_node_details_hardware(node_info.hardware)
518518
complete &= self._update_node_details_timestamp(node_info.timestamp)
519519

520-
_LOGGER.debug("Saving Node calibration update to cache for %s" self.mac)
520+
_LOGGER.debug("Saving Node calibration update to cache for %s", self.mac)
521521
await self.save_cache()
522522
if node_info.timestamp is not None and node_info.timestamp > datetime.now(
523523
tz=UTC

tests/test_usb.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2159,7 +2159,6 @@ async def load_callback(event: pw_api.NodeEvent, mac: str) -> None: # type: ign
21592159
current_logaddress_pointer=None,
21602160
firmware=dt(2011, 6, 27, 8, 55, 44, tzinfo=UTC),
21612161
hardware="080007",
2162-
logaddress_pointer=None,
21632162
node_type=None,
21642163
relay_state=None,
21652164
)
@@ -2264,7 +2263,6 @@ async def load_callback(event: pw_api.NodeEvent, mac: str) -> None: # type: ign
22642263
current_logaddress_pointer=None,
22652264
firmware=dt(2011, 6, 27, 8, 55, 44, tzinfo=UTC),
22662265
hardware="080007",
2267-
logaddress_pointer=None,
22682266
node_type=None,
22692267
relay_state=None,
22702268
)
@@ -2341,7 +2339,6 @@ async def load_callback(event: pw_api.NodeEvent, mac: str) -> None: # type: ign
23412339
current_logaddress_pointer=None,
23422340
firmware=dt(2011, 6, 27, 9, 4, 10, tzinfo=UTC),
23432341
hardware="070051",
2344-
logaddress_pointer=None,
23452342
node_type=None,
23462343
relay_state=None,
23472344
)
@@ -2359,7 +2356,6 @@ async def load_callback(event: pw_api.NodeEvent, mac: str) -> None: # type: ign
23592356
current_logaddress_pointer=None,
23602357
firmware=dt(2011, 6, 27, 9, 4, 10, tzinfo=UTC),
23612358
hardware="070051",
2362-
logaddress_pointer=None,
23632359
node_type=None,
23642360
relay_state=None,
23652361
)

0 commit comments

Comments
 (0)