mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Tellstick switch force update (#3874)
This commit is contained in:
parent
2a972b2334
commit
d9ae7ceb0c
@ -61,3 +61,8 @@ class TellstickSwitchDevice(tellstick.TellstickDevice, ToggleEntity):
|
||||
"""Turn the switch off."""
|
||||
from tellcore.constants import TELLSTICK_TURNOFF
|
||||
self.call_tellstick(TELLSTICK_TURNOFF)
|
||||
|
||||
@property
|
||||
def force_update(self) -> bool:
|
||||
"""Will trigger anytime the state property is updated."""
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user