Use slider to dimm group of lights with different maximum levels (tile card or bubble card, or?)

Hi there

I’ve just started with HA and come from a IOBroker / NodeRED dashboard wich I’m currently replicating.

In our living room we have a group of lights wich consists of Zigbee and Shelly bulbs. Some of them we use at different maximum levels to ensure a evenly lightning setup.

I would like to use the default Tile card with the brightness slider to controll all the lights. This requires to send different brightness levels to each of the bulbs.

Looking for a starting point how to do such an implementation. I’m open to use a different card integration (preferable bubble card which I already use at a different point in the dashboard).

Any hints to get started?

Kind regards.

You don’t modify the controls they’re just for display purpose.

You have to modify the behavior of the light.

But in HA you don’t replace the light you make a template that runs alongside and does things how you want…

Use template light to make a synthetic light that behaves how you want. (it’s brightness slider ramps to match your other lights) the include THAT lamp in the group. When operating the group the end user has no clue nor doesn’t need to care its also passing g through a synthetic lamp

1 Like

Thanks alot. I was already at the same page but was a bit overwhelmed with the possibilites.
So far I managed to create a simple solutions wich works fine. I’ll leave that for others.

- platform: template
  lights:
    light_living_room_clamp:
      friendly_name: "[VIRTUAL] Living Room Clamp Light"
      turn_on:
        action: light.turn_on
        entity_id:
          - light.light_living_room_clamp
      turn_off:
        action: light.turn_off
        entity_id:
          - light.light_living_room_clamp
      set_level:
        action: light.turn_on
        entity_id:
          - light.light_living_room_clamp
        data:
          brightness: "{{ brightness / 2 }}"
      supports_transition_template: "{{ true }}"
    light_living_room_floor_lamps:
      friendly_name: "[VIRTUAL] Living Room Floor Lamp, Living Room Floor Lamp Ikea Top & Middle
      turn_on:
        action: light.turn_on
        entity_id:
          - light.living_room_floor_lamp
          - light.living_room_floor_lamp_top
          - light.living_room_floor_lamp_middle
      turn_off:
        action: light.turn_off
        entity_id:
          - light.living_room_floor_lamp
          - light.living_room_floor_lamp_top
          - light.living_room_floor_lamp_middle
      set_level:
        action: light.turn_on
        entity_id:
          - light.living_room_floor_lamp
          - light.living_room_floor_lamp_top
          - light.living_room_floor_lamp_middle
        data:
          brightness: "{{ brightness }}"
      supports_transition_template: "{{ true }}"
    light_living_room_floor_lamp_ikea_3:
      friendly_name: "[VIRTUAL] Living Room Floor Lamp Ikea Bottom"
      turn_on:
        action: light.turn_on
        entity_id:
          - light.living_room_floor_lamp_bottom
      turn_off:
        action: light.turn_off
        entity_id:
          - light.living_room_floor_lamp_bottom
      set_level:
        action: light.turn_on
        entity_id:
          - light.living_room_floor_lamp_bottom
        data:
          brightness: 50
      supports_transition_template: "{{ true }}"
1 Like

Yeah so you had to multiply it by a *factor to get it to match.

Advanced use use an input number to hold that factor and now yojr ramp rate is adjustable…