mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-24 12:25:20 +01:00
Add another enum for the broken brightness light color_mode
This commit is contained in:
parent
4981b60f95
commit
4fc3ece694
@ -211,7 +211,8 @@ class FanState(EntityState):
|
|||||||
class LightColorMode(APIIntEnum):
|
class LightColorMode(APIIntEnum):
|
||||||
UNKNOWN = 0
|
UNKNOWN = 0
|
||||||
ON_OFF = 1
|
ON_OFF = 1
|
||||||
BRIGHTNESS = 2
|
BROKEN_BRIGHTNESS = 2 # Remove this in a future update. https://github.com/esphome/esphome/pull/2186
|
||||||
|
BRIGHTNESS =
|
||||||
WHITE = 7
|
WHITE = 7
|
||||||
COLOR_TEMPERATURE = 11
|
COLOR_TEMPERATURE = 11
|
||||||
COLD_WARM_WHITE = 19
|
COLD_WARM_WHITE = 19
|
||||||
|
Loading…
Reference in New Issue
Block a user