mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
add assumed state property
This commit is contained in:
parent
1d7aea7120
commit
008d65677b
@ -40,6 +40,11 @@ class TelldusLiveSwitch(ToggleEntity):
|
||||
""" Tells Home Assistant to poll this entity. """
|
||||
return True
|
||||
|
||||
@property
|
||||
def assumed_state(self):
|
||||
"""Return True if unable to access real state of entity."""
|
||||
return True
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
""" Returns the name of the switch if any. """
|
||||
|
Loading…
x
Reference in New Issue
Block a user