Why won't my switch look like an actual switch?

https://lemmy.world/post/8452435

Why won't my switch look like an actual switch? - Lemmy.World

I want to add a switch to my dashboard. But I don’t just want it to be a button. When I add a card and select by entity, I can see a “preview” of exactly what I want it to look like (see below). But I cannot add that as a card. It doesn’t matter what card I choose, it always looks different. I noticed the same for all sorts of other entities. I know I was able to have such a button in my dashboard some years ago, when I first played around with it. After a break I’m coming back to homeassistant and this is really frustrating me. Any help would be greatly appreciated. [https://lemmy.world/pictrs/image/928339d7-a56d-4be7-a3ab-156e3efbb577.png]

It’s not what you’re asking for because you literally want to have the “more information” as your card but I agree it can be annoying having all sorts of tapping and stroking needed to achieve something simple, like turning on a light.

So I present this

I used github.com/thomasloven/lovelace-fold-entity-row along with “auto-entities” and a lot of time playing in yaml to make these cards, but once I had one made for lights, it was easy to just copy it and switch the entities out to make one for switches and media players.

Basically it’s all the ON devices, followed by a fold out for each floor, which then has fold outs for each room on the floor.

I don’t use it a lot anymore but it’s still there, one line in my Dash

GitHub - thomasloven/lovelace-fold-entity-row: 🔹 A foldable row for entities card, containing other rows

🔹 A foldable row for entities card, containing other rows - GitHub - thomasloven/lovelace-fold-entity-row: 🔹 A foldable row for entities card, containing other rows

GitHub

It is not quite what I had in mind, but I’ll still poke around, because I see a lot of YAML in my future…

What I was after was having a switch just like the one shown in the screenshot as a card in the Dashboard. All I can add is a button that changes the color. I know I can YAML it, but it still feels weird that an obvious nice solution is not readily available.