From 21feff5fd859048de20c089c2636daf70d3b7d6e Mon Sep 17 00:00:00 2001 From: pvizeli Date: Wed, 8 Mar 2017 17:52:49 +0100 Subject: [PATCH] add available --- homeassistant/components/android_ip_webcam.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/android_ip_webcam.py b/homeassistant/components/android_ip_webcam.py index be318c7c558..d90232a87d0 100644 --- a/homeassistant/components/android_ip_webcam.py +++ b/homeassistant/components/android_ip_webcam.py @@ -249,6 +249,11 @@ class AndroidIPCamEntity(Entity): """Is update over central callback.""" return False + @property + def available(self): + """Return True if entity is available.""" + return self._ipcam.available + @property def device_state_attributes(self): """Return the state attributes."""