reformat code
This commit is contained in:
parent
5118791779
commit
249344158c
@ -59,8 +59,8 @@ def heating_profile(group):
|
||||
print(profile.index + ": " + profile.name)
|
||||
|
||||
if profile.name == "Home Office":
|
||||
#print("Profile Index" + profile.index)
|
||||
#print(group)
|
||||
# print("Profile Index" + profile.index)
|
||||
# print(group)
|
||||
group.set_active_profile(profile.index)
|
||||
|
||||
|
||||
@ -68,7 +68,7 @@ def main():
|
||||
global home
|
||||
home.get_current_state()
|
||||
for group in home.groups:
|
||||
if group.groupType=="HEATING":
|
||||
if group.groupType == "HEATING":
|
||||
heating_profile(group)
|
||||
if group.groupType == "META":
|
||||
for device in group.devices:
|
||||
|
Loading…
Reference in New Issue
Block a user