From 8ba4e601dfba28f5900b95587a5dc25214adcbba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sun, 20 Feb 2022 21:20:04 +0100 Subject: [PATCH] Fix is_streaming property (#17) --- custom_components/combined/camera.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/custom_components/combined/camera.py b/custom_components/combined/camera.py index ee9bd2f..91a4841 100644 --- a/custom_components/combined/camera.py +++ b/custom_components/combined/camera.py @@ -46,7 +46,6 @@ def __init__(self, hass, name, entities, base_address): """Initialize Camera platform.""" super().__init__() self.hass = hass - self.is_streaming = False self._name = name self._base_address = base_address self._entities = entities @@ -59,6 +58,10 @@ def camera_image(self): self.fetch_new_image() return self.feed + @property + def is_streaming(self): + return False + @property def name(self): """Return the name of this camera."""