File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,6 +74,13 @@ parameters:
7474 en : ' If set, the loop guard only counts write attempts whose "caller" string starts with this prefix
7575 (e.g. "MQTT"). Writes from all other callers always pass through freely.'
7676
77+ autoreconnect :
78+ type : bool
79+ default : true
80+ description :
81+ de : Verbindung nach Verbindungsabbruch automatisch wiederherstellen
82+ en : Automatically reconnect after connection loss
83+
7784 command_class :
7885 type : str
7986 default : SDPCommandViessmann
Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ def _send_init_on_send(self):
225225 empty_replies = 0
226226
227227 if not self ._is_initialized :
228+ self ._close ()
228229 raise SDPProtocolError ('P300 protocol initialization failed after 10 attempts' )
229230 self .logger .debug ('P300 communication initialized successfully' )
230231 return True
You can’t perform that action at this time.
0 commit comments