Slider control on tiles for Dimmable lights

Well since then i reverted the problem i founded the solution by enabling custom ui for each lamp i wanted the extra slider to appear.

Here is expemple for light.spot:

light.spot_*:
  custom_ui_state_card: state-card-custom-ui
  state_card_mode: single-line
  slider_theme:
    min: 0
    max: 255
    pin: true
    off_when_min: false
    report_when_not_changed: false

It’s a lot of lines with all my lamp but it’s the best i founded/

Thanks

The config is proceeded in-order so, for example:

light.*:
  state_card_mode: single-line
light.foo:
  state_card_mode: no-slider

Hi @andrey,

Thanks for these custom state cards. Love the input slider for lights. Right now, in my config, when I dim the light using the slider, the light’s state card opens up. Is there an option to just dim the light using the slider without opening the light’s state card?
The code I use is:

"light.*":
  assumed_state: true
  # initial_state: 'off'
  custom_ui_state_card: state-card-custom-ui
  state_card_mode: break-slider
  stretch_slider: true
  slider_theme:
    pin: true
    off_when_min: false

The end result is as in the picture below:


Sorry if this is documented elsewhere, but could not find this info!

Are you actually like most people and, although you have infinitely variable dimming, just end up setting it to much the same values each time. If so, you’d be better creating some scenes and letting HA do what it does rather than treating it like a simple remote control.

1 Like

Aha, I’m looking into scenes as I read this.

Have you figured this one out yet? I have the customize_glob running successfully for lights but need to suppress the state card too …

State card is suppressed. I deleted the deps director for some other reason and updated to 65.6. I don’t believe I changed anything else. Working well now!