Skip to content

Commit

Permalink
add support for commander 1 controlled devices
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMicDiet committed Sep 5, 2024
1 parent ec1f4c2 commit eab97f9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

from ..exception import DeviceNotFound
from .a2 import AII
from .backlight import Backlight
from .base_device import BaseDevice
from .c2 import CII
from .c2rgb import CIIRGB
from .commander1 import Commander1
from .fallback import Fallback
from .tiny_terrarium_egg import TinyTerrariumEgg
from .universal_wrgb import UniversalWRGB
Expand Down Expand Up @@ -47,7 +47,7 @@ async def get_device_from_address(device_address: str) -> BaseDevice:
__all__ = [
"TinyTerrariumEgg",
"AII",
"Backlight",
"Commander1",
"WRGBII",
"WRGBIIPro",
"WRGBIISlim",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"""Commander 1 device Model."""

from .base_device import BaseDevice


class Commander1(BaseDevice):
"""Chihiros Commander 1 device Class."""

_model_name = "Commander 1"
_model_codes = ["DYCOM"]
_colors: dict[str, int] = {"red": 0, "green": 1, "blue": 2, "white": 3}
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.2"
"version": "0.6.3"
}

0 comments on commit eab97f9

Please sign in to comment.