nicufarmache / lovelace-big-slider-card

A card with a big slider for light entities in Home Assistant
MIT License
66 stars 11 forks source link

Attribute color_temp does not work #20

Open CDRX2 opened 1 year ago

CDRX2 commented 1 year ago

Checklist:

Release with the issue: 2023.3.6 Last working release (if known):

Browser and Operating System: Windows 11, Vivaldi 5.7.2921.65

Description of problem:

It seems this card does not work with the color_temp or color_temp_kelvin attribute.

The code I use:

type: custom:big-slider-card
entity: light.chevet_amis_geneve
name: Chevet amis Genève
attribute: color_temp_kelvin
colorize: true
icon: mdi:light-recessed
tap_action:
  action: none
min: 2500
max: 6500

For some reason, the slider has no effect. Same problem when using the color_temp attribute and adapting the min and max values accordingly. Light works fine, calling light.turn_on and setting color_temp via dev tools services works. Am I missing something obvious here?

nicufarmache commented 1 year ago

Thanks for reminding me about this. I actually didn't implement the color temp attributes yet. :sweat_smile: I'll probably add them in the next version