Pulled from dev to get up-to-date
This commit is contained in:
commit
cceb79a378
34 changed files with 1194 additions and 176 deletions
|
@ -42,7 +42,7 @@ class WinkLight(WinkToggleDevice):
|
|||
brightness = kwargs.get(ATTR_BRIGHTNESS)
|
||||
|
||||
if brightness is not None:
|
||||
self.wink.set_state(True, brightness / 255)
|
||||
self.wink.set_state(True, brightness=brightness / 255)
|
||||
|
||||
else:
|
||||
self.wink.set_state(True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue