Skip to content

Commit

Permalink
fix parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
honjow committed Jun 2, 2024
1 parent b3025c3 commit e45e370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "huesync",
"version": "1.4.2",
"version": "1.4.3",
"description": "LED controller for handheld devices.",
"scripts": {
"build": "shx rm -rf dist && rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion py_modules/huesync.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def set_onex_color(color: Color, brightness: int = 100):
_brightness: int = 299 * color.R + 587 * color.G + 114 * color.B // 1000
if ledDevice.is_ready():
logger.info(f"set_onex_color: color={color}, brightness={_brightness}")
ledDevice.set_led_color(color, level=LEDLevel.SolidColor)
ledDevice.set_led_color(color, color, LEDLevel.SolidColor)
ledDevice.set_led_brightness(_brightness)
except Exception as e:
logger.error(e, exc_info=True)
Expand Down

0 comments on commit e45e370

Please sign in to comment.