add assumed state property
This commit is contained in:
parent
1d7aea7120
commit
008d65677b
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue