bokub / rgb-light-card

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

color_temp problem #51

Closed vsimanin closed 2 years ago

vsimanin commented 2 years ago

Can't get the color_temp command to work through the card. This example throws an error:

- rgb_color:
     - 255
     - 255
     - 255
  color_temp: 255
  brightness: 255

Can you add an example with changing this parameter? Thanks!

bokub commented 2 years ago

What's the error?

vsimanin commented 2 years ago

What's the error?

Screenshot_20210923-081336

bokub commented 2 years ago

You should use either rgb_color or color_temp, but not both at the same time.

In the UI, the rule is the same, you can click either here: image ...or here: image but not both at the same time

vsimanin commented 2 years ago

You should use either rgb_color or color_temp, but not both at the same time.

Thanks! I understand how it works, you can close the discussion. PS it's still worth adding an example to the README