mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
reset unsub to None on timeout (#22404)
This commit is contained in:
committed by
Pascal Vizeli
parent
e85b089eff
commit
baa4945944
@@ -128,6 +128,7 @@ class StreamOutput:
|
||||
@callback
|
||||
def _timeout(self, _now=None):
|
||||
"""Handle stream timeout."""
|
||||
self._unsub = None
|
||||
if self._stream.keepalive:
|
||||
self.idle = True
|
||||
self._stream.check_idle()
|
||||
|
Reference in New Issue
Block a user