mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
add available
This commit is contained in:
parent
93118fcade
commit
21feff5fd8
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user