bokub / rgb-light-card

💡 A Lovelace custom card for RGB lights
MIT License
412 stars 24 forks source link

White color on RGB strip #73

Closed maciekelga closed 1 year ago

maciekelga commented 1 year ago

Hi

I have a question related to white color on RGB led strip.

I have config as below:

Type: entities show_header_toggle: false entities:

Other colors like red or blue etc working well but whit is not working. How to do this in correct way?

bokub commented 1 year ago

I don't understand what is not working.

Before creating a card, did you manage to do what you want using the light.turn_on service?

maciekelga commented 1 year ago

It is solved. When I used rgb_color with 3x255 by default separete white channel were called insted of make white from RGB. I'm using RGB and I had to use configuration as follow to get white from RGB strip:

Type: custom:rgb-light-card entity: light.jadalnia_swiatlo_rgb colors: rgbw_color: 255 255 255 0 brightness: 255 transition: 1