Skip to content

Commit

Permalink
Merge pull request #41 from senna1992/patch-1
Browse files Browse the repository at this point in the history
Correct Color Channel association
  • Loading branch information
TheMicDiet committed Sep 1, 2024
2 parents 20551b1 + cb00dfa commit 150337d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class WRGBII(BaseDevice):
_model_name = "WRGB II"
_model_codes = ["DYNWRGB", "DYNW30", "DYNW45", "DYNW60", "DYNW90", "DYNW12P"]
_colors: dict[str, int] = {
"white": 0,
"red": 1,
"green": 2,
"blue": 3,
"white": 3,
"red": 0,
"green": 1,
"blue": 2,
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class WRGBIISlim(BaseDevice):
_model_name = "WRGB II Slim"
_model_codes = ["DYSILN"]
_colors: dict[str, int] = {
"white": 0,
"red": 1,
"green": 2,
"blue": 3,
"white": 3,
"red": 0,
"green": 1,
"blue": 2,
}
2 changes: 1 addition & 1 deletion custom_components/chihiros/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@
"requirements": [
"typer[all]==0.9.0"
],
"version": "0.6.0"
"version": "0.6.1"
}

0 comments on commit 150337d

Please sign in to comment.