I have AITHINKER LD bulb which can change its colors.
It used to be flashed with ESPurna and was recognized in HA (via MQTT) - I flashed ESPHome on it and
- the flashing was successful
- I can connect it to HA
- switching on/off works
- I do not see any provision for colors management in HA
The ESPhome configuration is below (blindly copied from https://esphome.io/components/output/my9231.html - my configuration includes other common basic settings fro all devices)
esphome:
name: ${name}
platform: ESP8266
board: esp01_1m
my9231:
data_pin: GPIO13
clock_pin: GPIO15
num_channels: 4
num_chips: 1
bit_depth: 8
output:
- platform: my9231
id: output_red
channel: 3
- platform: my9231
id: output_green
channel: 2
- platform: my9231
id: output_blue
channel: 1
- platform: my9231
id: output_cold_white
channel: 0
light:
- platform: rgbw
name: ${name}
red: output_red
green: output_green
blue: output_blue
white: output_cold_white
Is there a specific way to tell HA that this is a color bulb so that it provides its color spectrum (to pick the color)?