Commented out stuff
This commit is contained in:
parent
0e4d2455bb
commit
8f60e00a6d
@ -25,22 +25,24 @@ class Lights_Module():
|
|||||||
|
|
||||||
print("\n -Listing Lights...")
|
print("\n -Listing Lights...")
|
||||||
for l in light_list:
|
for l in light_list:
|
||||||
print(l.name)
|
pass
|
||||||
|
#print(l.name)
|
||||||
print("\n -Counting Groups...")
|
print("\n -Counting Groups...")
|
||||||
for g in groups:
|
for g in groups:
|
||||||
print(g)
|
#print(g)
|
||||||
groupCount = int(g)
|
groupCount = int(g)
|
||||||
|
|
||||||
|
|
||||||
for gc in range(groupCount):
|
for gc in range(groupCount):
|
||||||
try:
|
try:
|
||||||
print("group n:" + str(gc))
|
#print("group n:" + str(gc))
|
||||||
group = self.bridge_.get_group(gc ,'name')
|
group = self.bridge_.get_group(gc ,'name')
|
||||||
print(group)
|
#print(group)
|
||||||
#group_list.append(group)
|
group_list.append(group)
|
||||||
print(" --done adding")
|
#print(" --done adding")
|
||||||
except:
|
except:
|
||||||
print(" --adding failed")
|
pass
|
||||||
|
#print(" --adding failed")
|
||||||
|
|
||||||
#self.bridge_.set_group(18, "bri", 254) #This is max Brightness
|
#self.bridge_.set_group(18, "bri", 254) #This is max Brightness
|
||||||
#self.bridge_.set_group(18, "on", True) #This is will turn ON
|
#self.bridge_.set_group(18, "on", True) #This is will turn ON
|
||||||
@ -56,7 +58,7 @@ class Lights_Module():
|
|||||||
#self.bridge_.set_group(16, "xy", xy_result)
|
#self.bridge_.set_group(16, "xy", xy_result)
|
||||||
#sleep(0.1)
|
#sleep(0.1)
|
||||||
|
|
||||||
#for stuffz in .bridge_.scenes:
|
#for stuffz in self.bridge_.scenes:
|
||||||
#print(stuffz)
|
#print(stuffz)
|
||||||
|
|
||||||
# This will set the group Downstairs to the Stream scene
|
# This will set the group Downstairs to the Stream scene
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user