From 3b0db291ddb4f5019f14af6548c6b381e4bb796d Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 15 Oct 2018 10:31:49 +0200 Subject: [PATCH] Bugfix eventstream with EOF on end (#17465) --- homeassistant/components/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/api.py b/homeassistant/components/api.py index 0fbb4de39f1..cbe404537eb 100644 --- a/homeassistant/components/api.py +++ b/homeassistant/components/api.py @@ -141,6 +141,8 @@ class APIEventStream(HomeAssistantView): _LOGGER.debug("STREAM %s RESPONSE CLOSED", id(stop_obj)) unsub_stream() + return response + class APIConfigView(HomeAssistantView): """View to handle Configuration requests."""