Lights: no more color_temp and rgb_color together?

both on my Ikea tradfri and philips hue lights, i have customizations like this:

light.drawer:
  icon: mdi:lamp
  extra_data_template: >
    if (attributes.hs_color || attributes.rgb_color) 
        return 'Hs: ' + attributes.hs_color
        + ' | ' +  'Rgb: ' + attributes.rgb_color;
    return null;
  state_card_mode: break-slider
  stretch_slider: true
  hide_control: false
  show_last_changed: true
  confirm_controls: true
  slider_theme:
    min: 0
    max: 255
    pin: true
    off_when_min: true
    report_when_not_changed: true
  extra_badge:
    - attribute: brightness
      unit: Br
    - attribute: color_temp
      unit: Co

If available it should show the rgb and hs colors above the slider, and have 2 extra data badges show color temp and brightness.
Worked just perfectly. With the latest updates on Hassio color_temp is not displayed any longer if the rgb settings are displayed. I can see the attributes in the dev-tools.

51
See below: Dining table lamp 3 shows both badges but Kist won’t give color temp
37

the templates must be right, have worked just fine before, so maybe something changed in the Hassio implementation?

any hints appreciated

btw, keeping an eye on:


and

cheers,
Marius

1 Like