mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +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. """
|
""" Tells Home Assistant to poll this entity. """
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@property
|
||||||
|
def assumed_state(self):
|
||||||
|
"""Return True if unable to access real state of entity."""
|
||||||
|
return True
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
""" Returns the name of the switch if any. """
|
""" Returns the name of the switch if any. """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user