From 008d65677b203e70d59255da50206d55147b0a33 Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 16 Feb 2016 17:18:49 +0100 Subject: [PATCH] add assumed state property --- homeassistant/components/switch/tellduslive.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/switch/tellduslive.py b/homeassistant/components/switch/tellduslive.py index 7edab40054f..078ca912bd2 100644 --- a/homeassistant/components/switch/tellduslive.py +++ b/homeassistant/components/switch/tellduslive.py @@ -40,6 +40,11 @@ class TelldusLiveSwitch(ToggleEntity): """ Tells Home Assistant to poll this entity. """ return True + @property + def assumed_state(self): + """Return True if unable to access real state of entity.""" + return True + @property def name(self): """ Returns the name of the switch if any. """