Skip to content

Commit 3f852c4

Browse files
author
brentru
committed
switch room to lamp
1 parent 243188f commit 3f852c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • PyPortal_Philips_Hue_Controller

PyPortal_Philips_Hue_Controller/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
{'name':'up', 'pos':(75, 15), 'label':'+'},
118118
{'name':'down', 'pos':(135, 15), 'label':'-'},
119119
{'name':'living', 'pos':(195, 15), 'label':'living'},
120-
{'name':'room', 'pos':(255, 15), 'label':'room'}
120+
{'name':'lamp', 'pos':(255, 15), 'label':'lamp'}
121121
]
122122

123123
# generate property buttons from prop_btn list
@@ -147,7 +147,7 @@
147147
if button.name == 'living':
148148
hue_selector = hue_lights['livingroom']
149149
print('Switching to ', hue_selector)
150-
elif button.name == 'room':
150+
elif button.name == 'lamp':
151151
hue_selector = hue_lights['lamp']
152152
print('Switching to ', hue_selector)
153153
elif button.name == 'onoff':

0 commit comments

Comments
 (0)