Skip to content
Snippets Groups Projects
Commit 809c1c02 authored by jkerdreu's avatar jkerdreu
Browse files

Mr Proper

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2524 b32b6428-25c9-4566-ad07-03861ab6144f
parent 4a13d89f
Branches
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ class GW(object):
cfg[k['ip']] = {'addr':str(addr)}
bulb = yeelight.Bulb(k['ip'],k['port'])
#dev = devices.RGBW(bulb,addr)
dev = devices.RGBW(bulb,addr)
dev = devices.RGBW(bulb,cfg[k])
self.engine.add_device(dev.dev)
......@@ -64,7 +64,7 @@ class GW(object):
addr = tools.get_random_uuid()
cfg[k['ip']] = {'addr':str(addr)}
bulb = yeelight.Bulb(k)
dev = devices.RGBW(bulb,addr)
dev = devices.RGBW(bulb,cfg[k])
self.devices.append(dev)
self.engine.add_device(dev.dev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment