From e724b64b532761035f81a7c3682c4ef08fce2c2f Mon Sep 17 00:00:00 2001 From: senna1992 <149412175+senna1992@users.noreply.github.com> Date: Sun, 1 Sep 2024 12:17:16 +0200 Subject: [PATCH 1/2] Update wrgb2.py --> has 3in1 not 4in1 LEDs removed color channel white, since it does not have white only leds --- custom_components/chihiros/chihiros_led_control/device/wrgb2.py | 1 - 1 file changed, 1 deletion(-) diff --git a/custom_components/chihiros/chihiros_led_control/device/wrgb2.py b/custom_components/chihiros/chihiros_led_control/device/wrgb2.py index f5932c3..632f07f 100644 --- a/custom_components/chihiros/chihiros_led_control/device/wrgb2.py +++ b/custom_components/chihiros/chihiros_led_control/device/wrgb2.py @@ -9,7 +9,6 @@ class WRGBII(BaseDevice): _model_name = "WRGB II" _model_codes = ["DYNWRGB", "DYNW30", "DYNW45", "DYNW60", "DYNW90", "DYNW12P"] _colors: dict[str, int] = { - "white": 3, "red": 0, "green": 1, "blue": 2, From 4167d60118f0970af91147d665b3821ed2d10494 Mon Sep 17 00:00:00 2001 From: Michael Dietrich Date: Sun, 1 Sep 2024 12:28:35 +0200 Subject: [PATCH 2/2] remove white channel from wrgb 2 slim --- .../chihiros/chihiros_led_control/device/wrgb2_slim.py | 1 - custom_components/chihiros/manifest.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/custom_components/chihiros/chihiros_led_control/device/wrgb2_slim.py b/custom_components/chihiros/chihiros_led_control/device/wrgb2_slim.py index eb31ba7..eef467d 100644 --- a/custom_components/chihiros/chihiros_led_control/device/wrgb2_slim.py +++ b/custom_components/chihiros/chihiros_led_control/device/wrgb2_slim.py @@ -9,7 +9,6 @@ class WRGBIISlim(BaseDevice): _model_name = "WRGB II Slim" _model_codes = ["DYSILN"] _colors: dict[str, int] = { - "white": 3, "red": 0, "green": 1, "blue": 2, diff --git a/custom_components/chihiros/manifest.json b/custom_components/chihiros/manifest.json index 82766a1..2e178e1 100644 --- a/custom_components/chihiros/manifest.json +++ b/custom_components/chihiros/manifest.json @@ -74,5 +74,5 @@ "requirements": [ "typer[all]==0.9.0" ], - "version": "0.6.1" + "version": "0.6.2" }