mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +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."""
|
"""Is update over central callback."""
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@property
|
||||||
|
def available(self):
|
||||||
|
"""Return True if entity is available."""
|
||||||
|
return self._ipcam.available
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def device_state_attributes(self):
|
def device_state_attributes(self):
|
||||||
"""Return the state attributes."""
|
"""Return the state attributes."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user