Skip to content

Commit

Permalink
Remove incompatible color modes for white lights, guarantees compatib…
Browse files Browse the repository at this point in the history
…ility with HA version 2025.3, solves #56
  • Loading branch information
Breina committed Mar 17, 2024
1 parent 5c4377c commit 127407b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/home-assistant/home-assistant:2023.6
FROM ghcr.io/home-assistant/home-assistant:2024.3

# HA
EXPOSE 8123:8123/tcp
Expand Down
1 change: 0 additions & 1 deletion custom_components/artnet_led/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ def __init__(self, **kwargs):

self._color_mode = ColorMode.COLOR_TEMP
self._supported_color_modes.add(ColorMode.COLOR_TEMP)
self._supported_color_modes.add(ColorMode.WHITE)
# Intentionally switching min and max here; it's inverted in the conversion.

self._min_kelvin = convert_to_kelvin(kwargs[CONF_DEVICE_MIN_TEMP])
Expand Down

0 comments on commit 127407b

Please sign in to comment.