message['command'] = 'BRIGHT_UP'
elif cmd == 4:
message['command'] = 'SWITCH'
- elif cmd == 5:
- message['command'] = 'SWITCH'
- elif cmd == 5:
- message['command'] = 'BRIGHT_BACK'
elif cmd == 5:
message['command'] = 'BRIGHT_BACK'
elif cmd == 6:
message['command'] = 'UNBIND'
elif cmd == 10:
message['command'] = 'STOP_REG'
-# elif cmd == 11:
-# message['command'] = 'BRIGHTNESS_STEP_DOWN'
-# elif cmd == 12:
-# message['command'] = 'BRIGHTNESS_STEP_UP'
-# elif cmd == 13:
-# message['command'] = 'BRIGHT_REG'
+ elif cmd == 11:
+ message['command'] = 'BRIGHTNESS_STEP_DOWN'
+ elif cmd == 12:
+ message['command'] = 'BRIGHTNESS_STEP_UP'
+ elif cmd == 13:
+ message['command'] = 'BRIGHT_REG'
elif cmd == 15:
message['command'] = 'BIND'
elif cmd == 16: