Tellstick switch force update (#3874)

This commit is contained in:
Per Sandström authored and Paulus Schoutsen committed 2016-10-16 15:56:55 -07:00
1 parent 2a972b2334
commit d9ae7ceb0c
1 file changed
+5
@@ -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