Skip to content

Commit 60e6a80

Browse files
author
brentru
committed
s/living/room, cleaner ux
1 parent 3f852c4 commit 60e6a80

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
@@ -116,7 +116,7 @@
116116
{'name':'onoff', 'pos':(15, 15), 'label':'on/off'},
117117
{'name':'up', 'pos':(75, 15), 'label':'+'},
118118
{'name':'down', 'pos':(135, 15), 'label':'-'},
119-
{'name':'living', 'pos':(195, 15), 'label':'living'},
119+
{'name':'room', 'pos':(195, 15), 'label':'room'},
120120
{'name':'lamp', 'pos':(255, 15), 'label':'lamp'}
121121
]
122122

@@ -144,7 +144,7 @@
144144
for i, button in enumerate(buttons):
145145
if button.contains(touch):
146146
button.selected = True
147-
if button.name == 'living':
147+
if button.name == 'room':
148148
hue_selector = hue_lights['livingroom']
149149
print('Switching to ', hue_selector)
150150
elif button.name == 'lamp':

0 commit comments

Comments
 (0)