bugfix: is_on is a property (#4889)

This commit is contained in:
Erik Eriksson authored and Paulus Schoutsen committed 2016-12-13 22:58:43 -08:00
1 parent dc551b825f
commit 570cfc60c5
1 file changed
+1 -1
@@ -28,7 +28,7 @@ class TelldusLiveSwitch(TelldusLiveEntity, ToggleEntity):
@property
def is_on(self):
"""Return true if switch is on."""
return self.device.is_on()
return self.device.is_on
def turn_on(self, **kwargs):
"""Turn the switch on."""