From d9ae7ceb0c39263926b115fc188e976dad385b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20Sandstr=C3=B6m?= Date: Mon, 17 Oct 2016 00:56:55 +0200 Subject: [PATCH] Tellstick switch force update (#3874) --- homeassistant/components/switch/tellstick.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/switch/tellstick.py b/homeassistant/components/switch/tellstick.py index a0cc4294b23..e5134c07a34 100644 --- a/homeassistant/components/switch/tellstick.py +++ b/homeassistant/components/switch/tellstick.py @@ -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