mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +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."""
|
"""Turn the switch off."""
|
||||||
from tellcore.constants import TELLSTICK_TURNOFF
|
from tellcore.constants import TELLSTICK_TURNOFF
|
||||||
self.call_tellstick(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