add available

pull/6488/head
pvizeli 2017-03-08 17:52:49 +01:00
parent 93118fcade
commit 21feff5fd8
1 changed files with 5 additions and 0 deletions

View File

@ -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."""