Update for style changes in python-wink

This commit is contained in:
William Scanlon committed 2015-12-16 13:32:38 -05:00
1 parent c91cd9aa84
commit afbf377b6d
6 files changed
+39 -77

No files matched your search

+2 -2
View File
@@ -44,10 +44,10 @@ class WinkLight(WinkToggleDevice):
brightness = kwargs.get(ATTR_BRIGHTNESS)
if brightness is not None:
self.wink.setState(True, brightness / 255)
self.wink.set_state(True, brightness / 255)
else:
self.wink.setState(True)
self.wink.set_state(True)
@property
def state_attributes(self):