add available
This commit is contained in:
1 parent
93118fcade
commit
21feff5fd8
1 file changed
+5
@@ -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."""
|
||||
|
||||
Reference in new issue
Block a user