mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 12:06:26 +01:00
This reverts commit b0fa317302
.
This commit is contained in:
parent
1fac91a659
commit
877a5fda41
@ -52,7 +52,7 @@ enum class ColorMode : uint8_t {
|
|||||||
/// Only on/off control.
|
/// Only on/off control.
|
||||||
ON_OFF = (uint8_t) ColorCapability::ON_OFF,
|
ON_OFF = (uint8_t) ColorCapability::ON_OFF,
|
||||||
/// Dimmable light.
|
/// Dimmable light.
|
||||||
BRIGHTNESS = (uint8_t)(ColorCapability::ON_OFF | ColorCapability::BRIGHTNESS),
|
BRIGHTNESS = (uint8_t) ColorCapability::BRIGHTNESS,
|
||||||
/// White output only (use only if the light also has another color mode such as RGB).
|
/// White output only (use only if the light also has another color mode such as RGB).
|
||||||
WHITE = (uint8_t)(ColorCapability::ON_OFF | ColorCapability::BRIGHTNESS | ColorCapability::WHITE),
|
WHITE = (uint8_t)(ColorCapability::ON_OFF | ColorCapability::BRIGHTNESS | ColorCapability::WHITE),
|
||||||
/// Controllable color temperature output.
|
/// Controllable color temperature output.
|
||||||
|
Loading…
Reference in New Issue
Block a user