Light Switch Style

Good afternoon,

my name is Tim.
I`ve moved recently from OpenHAB to Home Assistant and I love it.
Just git one question, how do i get the “slider light switches”.
My light switches are just big buttons, even when i make a light group.
How do I make a group where i can see my indivial lights and have a switch for alle together


This is how my light group looks like.

But I want it to look like this.

https://user-images.githubusercontent.com/6833237/36416339-13eb8764-1629-11e8-9283-761c2025ac03.png

(Picture from google)

regards Tim

Just add a new card to your interface (3dots-menu -> customize -> tap “+”) and add an entities card (“Elemente” in German)
You get a list where you can search for individual entities.

This is an entities card.

unfortunately it dosen´t make a difference if I add it as card or entity.
I get every time the same Icon without the individual sliders.

When you add an entities card you need to list your lights, like
light.foyerlight2. You will end up with the display you seek.

But I´ve grouped all lights in the config.yaml and then I get a new card as light group?

Hi ironman0139,

What nickrout is trying to say, is that your entity should be a ‘light’ category, and it seems like yours is a ‘switch’ If it is part of the ‘light’ group, then are you sure it has the capability to dim? If it cannot dim, then it will just be a button.

On another note, do you have HACS installed? It’s a ‘store’ so to speak, where you can get 3rd party integrations and lovelace cards. There is a lovelace card called ‘Lovelace Slider Entity Row’

I hope that helps get you on the right path!

Here’s the code:

type: entities
entities:
  - entity: light.desk_light
  - entity: light.dining_room_chandelier
  - entity: light.alley_camera_light
state_color: false

Here’s what it looks like in the UI:


You should note that the last two lights have a configuration that changes their icon which is why my chandelier looks like a light group and my alley camera light looks like a spot light. Normally, they’d all have light bulb icons.

1 Like

But if I put your code in the config.yaml i get this error:
bad indentation of a mapping entry at line 24, column 7:
type: entities
^

my lights are loaded as light.kueche_1 and light.kueche_2

EDIT:
My bad, I got it thanks for the help

Yes. Sorry about that. Should have given you the whole thing.

1 Like