Open Erriez opened 3 years ago
After more research, the problem is located in Homeassistant:
https://github.com/home-assistant/frontend/issues/8062
The root cause is that Homeassistant saves an effect_list:
with all effects listed in the drop-down instead of one selected effect:
.
I assume nobody is currently able to switch between RGB and white mode with a RGB+CCT light, MiLight-Hub and Homeassistant. Please correct me if I'm wrong.
Hello, apparently I'm having this error too. If I'm in RGB mode, it will switch to white temperature mode, however it won't switch back.
I have two automations: one sets the color to purple at 33% brightness (which is RGB mode), the other one sets the color to cold white at 100% brightness (which is temperature mode).
When I have let's say red lights, if I press the first automation it will switch to purple and 33 brightness. If I press the second, it will also change to bright white (proper white, the RGB mode white is blueish and much darker).
However, if the light bulb is currently set to temperature mode, it will not switch back to color mode through automations, I have to manually select color mode again and pick a color. If I use the first automation while my light bulb is using the temperature mode, it will only go 33% brightness, but color won't change at all.
This is my yaml automations file:
- id: '1672376921722'
name: Gaming
entities:
light.lamparita:
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
supported_color_modes:
- brightness
- color_temp
- hs
color_mode: hs
brightness: 57
hs_color:
- 299.833
- 100
rgb_color:
- 254
- 0
- 255
xy_color:
- 0.384
- 0.154
friendly_name: Lamparita
supported_features: 0
state: 'on'
icon: mdi:laptop
metadata: {}
- id: '1672377096598'
name: Light
entities:
light.lamparita:
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
supported_color_modes:
- color_temp
color_mode: color_temp
brightness: 255
xy_color:
- 0.331
- 0.335
friendly_name: Lamparita
supported_features: 0
color_temp_kelvin: 6329
color_temp: 158
state: 'on'
icon: mdi:white-balance-sunny
metadata: {}
I've a setup with RGB+CCT LED'strips, spots and bulbs which can be controlled via the MiLight web interface. Now I'm creating scenes in Homeassistant. Switching between scenes does not switch between RGB and white state. Is this a configuration setting?
milight-hub/settings
MQTT status
Homeassistant configuration.yaml
Homeassistant scenes.yaml
How can a Homeassistant scene switch between RGB and white mode?