File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -116,17 +116,11 @@ async def write_request_to_port(self, request: PlugwiseRequest) -> None:
116116 )
117117 else :
118118 request .seq_id = response .seq_id
119- if request .no_response :
120- await request .subscribe_to_response (
121- self ._receiver .subscribe_to_stick_responses ,
122- None ,
123- )
124- else :
125- await request .subscribe_to_response (
126- self ._receiver .subscribe_to_stick_responses ,
127- self ._receiver .subscribe_to_node_responses ,
128- )
129- _LOGGER .debug ("write_request_to_port | request has subscribed : %s" , request )
119+ await request .subscribe_to_response (
120+ self ._receiver .subscribe_to_stick_responses ,
121+ self ._receiver .subscribe_to_node_responses ,
122+ )
123+ _LOGGER .debug ("write_request_to_port | request has subscribed : %s" , request )
130124 elif response .response_type == StickResponseType .TIMEOUT :
131125 _LOGGER .warning (
132126 "USB-Stick directly responded with communication timeout for %s" ,
You can’t perform that action at this time.
0 commit comments