From 8a6d9cc0e428f22a70e1ade1639dca2a62102548 Mon Sep 17 00:00:00 2001 From: Jason Hunter Date: Tue, 26 Mar 2019 03:39:09 -0400 Subject: [PATCH] reset unsub to None on timeout (#22404) --- homeassistant/components/stream/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/stream/core.py b/homeassistant/components/stream/core.py index 665803d38eb..59c0a6b650f 100644 --- a/homeassistant/components/stream/core.py +++ b/homeassistant/components/stream/core.py @@ -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()