mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 11:47:30 +01:00
Add support for additional colors on GROW R503 (#3087)
This commit is contained in:
parent
d92f297bc0
commit
297824e2d7
@ -80,6 +80,10 @@ AURA_LED_COLORS = {
|
||||
"RED": AuraLEDColor.RED,
|
||||
"BLUE": AuraLEDColor.BLUE,
|
||||
"PURPLE": AuraLEDColor.PURPLE,
|
||||
"GREEN": AuraLEDColor.GREEN,
|
||||
"YELLOW": AuraLEDColor.YELLOW,
|
||||
"CYAN": AuraLEDColor.CYAN,
|
||||
"WHITE": AuraLEDColor.WHITE,
|
||||
}
|
||||
validate_aura_led_colors = cv.enum(AURA_LED_COLORS, upper=True)
|
||||
|
||||
|
@ -76,6 +76,10 @@ enum GrowAuraLEDColor {
|
||||
RED = 0x01,
|
||||
BLUE = 0x02,
|
||||
PURPLE = 0x03,
|
||||
GREEN = 0x04,
|
||||
YELLOW = 0x05,
|
||||
CYAN = 0x06,
|
||||
WHITE = 0x07,
|
||||
};
|
||||
|
||||
class FingerprintGrowComponent : public PollingComponent, public uart::UARTDevice {
|
||||
|
Loading…
Reference in New Issue
Block a user