File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,9 @@ def _p1_smartmeter_info_finder(self) -> None:
373373 """Collect P1 DSMR SmartMeter info."""
374374 appl = Munch ()
375375 loc_id = next (iter (self ._loc_data .keys ()))
376- if (location := self ._domain_objects .find (f'./location[@id="{ loc_id } "]' )) is None :
376+ if (
377+ location := self ._domain_objects .find (f'./location[@id="{ loc_id } "]' )
378+ ) is None :
377379 return None
378380
379381 locator = MODULE_LOCATOR
Original file line number Diff line number Diff line change @@ -138,7 +138,9 @@ async def test_connect_adam_plus_anna_new(self):
138138 try :
139139 await self .device_test (smile , initialize = False )
140140 except pw_exceptions .PlugwiseError as err :
141- _LOGGER .debug (f"Receiving no data after a reboot is properly handled: { err } " )
141+ _LOGGER .debug (
142+ f"Receiving no data after a reboot is properly handled: { err } "
143+ )
142144
143145 # Simulate receiving xml-data with <error>
144146 self .smile_setup = "error/adam_plus_anna_new"
Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ async def test_connect_p1v4_442_single(self):
4646 try :
4747 await self .device_test (smile , initialize = False )
4848 except pw_exceptions .PlugwiseError as err :
49- _LOGGER .debug (f"Receiving no data after a reboot is properly handled: { err } " )
49+ _LOGGER .debug (
50+ f"Receiving no data after a reboot is properly handled: { err } "
51+ )
5052
5153 # Simulate receiving xml-data with <error>
5254 self .smile_setup = "error/p1v4_442_single"
You can’t perform that action at this time.
0 commit comments