-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for c2 non rgb and white backlight
- Loading branch information
1 parent
4912865
commit 09edb7f
Showing
5 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
custom_components/chihiros/chihiros_led_control/device/backlight.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
"""Backlight device Model.""" | ||
|
||
from .base_device import BaseDevice | ||
|
||
|
||
class Backlight(BaseDevice): | ||
"""Chihiros LED Backlight device Class.""" | ||
|
||
_model_name = "Backlight" | ||
_model_codes = ["DYCOM"] | ||
_colors: dict[str, int] = { | ||
"white": 0, | ||
} |
13 changes: 13 additions & 0 deletions
13
custom_components/chihiros/chihiros_led_control/device/c2.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
"""CII device Model.""" | ||
|
||
from .base_device import BaseDevice | ||
|
||
|
||
class CII(BaseDevice): | ||
"""Chihiros CII device Class.""" | ||
|
||
_model_name = "CII" | ||
_model_code = ["DYNC2N"] | ||
_colors: dict[str, int] = { | ||
"white": 0, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters