Add another enum for the broken brightness light color_mode

This commit is contained in:
Jesse Hills 2021-08-24 10:59:20 +12:00
parent 4981b60f95
commit 4fc3ece694
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -211,7 +211,8 @@ class FanState(EntityState):
class LightColorMode(APIIntEnum):
UNKNOWN = 0
ON_OFF = 1
BRIGHTNESS = 2
BROKEN_BRIGHTNESS = 2 # Remove this in a future update. https://github.com/esphome/esphome/pull/2186
BRIGHTNESS =
WHITE = 7
COLOR_TEMPERATURE = 11
COLD_WARM_WHITE = 19