File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ async def send(
234234 return await self ._queue .submit (request )
235235 try :
236236 return await self ._queue .submit (request )
237- except ( NodeError , StickError ) :
237+ except NodeError , StickError :
238238 return None
239239
240240 def _reset_states (self ) -> None :
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def __init__(
6464 self ._cache_enabled : bool = False
6565 self ._cache_folder_create = False
6666
67- self ._channel : int | None = None
67+ self ._channel : int | None = None
6868 self ._discover : bool = False
6969 self ._nodes : dict [str , PlugwiseNode ] = {}
7070 self ._awake_discovery : dict [str , datetime ] = {}
Original file line number Diff line number Diff line change 2929
3030
3131RESPONSE_MESSAGES = {
32- b"\x05 \x05 \x03 \x03 0001CAAB\r \n " : (
32+ b"\x05 \x05 \x03 \x03 0001CAAB\r \n " : (
3333 "Stick network info request" ,
3434 b"000000C1" , # Success ack
3535 b"0002" # msg_id
3939 + b"FFFFFFFFFFFFFFFF"
4040 + b"0698765432101234" # 06 + plus-device mac
4141 + b"1606"
42- + b"01"
42+ + b"01" ,
4343 ),
4444 b"\x05 \x05 \x03 \x03 000AB43C\r \n " : (
4545 "STICK INIT" ,
You can’t perform that action at this time.
0 commit comments