mirror of
https://github.com/home-assistant/core.git
synced 2026-09-03 02:34:57 -05:00
add assumed state property
This commit is contained in:
@@ -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. """
|
||||
|
||||
Reference in New Issue
Block a user