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