mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
reset unsub to None on timeout (#22404)
This commit is contained in:
parent
fac214828d
commit
8a6d9cc0e4
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user