style fix
This commit is contained in:
parent
f224ee7229
commit
133c03ee57
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue