mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
style fix
This commit is contained in:
parent
f224ee7229
commit
133c03ee57
@ -169,7 +169,7 @@ class BroadlinkRMSwitch(SwitchDevice):
|
||||
return True
|
||||
try:
|
||||
self._device.send_data(packet)
|
||||
except (socket.timeout, ValueError) as error:
|
||||
except (socket.timeout, ValueError) as error:
|
||||
if retry < 1:
|
||||
_LOGGER.error(error)
|
||||
return False
|
||||
|
Loading…
x
Reference in New Issue
Block a user