Why does it have a slider as if it were a dimmer and not just a bulb (since there is a separate "dimmer" template)? Naturally, sliding the dimmer bar does nothing.
How do I get the icon to be just a bulb without the dimmer slider?
The "Bulb" template is meant for dimmable bulbs (as opposed to ones that can change color/CT). The "Switch" template sounds closer to what you're looking for (if you only want on/off), but you won't get the bulb icon that way. It can probably be customized with CSS if you want to do that, but I've never tried.
At least part of the question is relative to the two dimmer tiles: Bulb and Dimmer. Both seem to display a very similar icon. Why are two needed for dimming, but zero for non-dim?
I'd guess just because all smart bulbs I'm aware of are dimmable as a minimum, not just on/off, and that is probably what the creator had in mind when creating the "Bulb" template (and "Dimmer" probably had wall units more in mind, basing this on the different icons with similar functionality for both); of course, using a smart plug/switch for something that happens to be a bulb makes that more complicated. Either the OP has a very unusual smart bulb, or that is what's happening here.
"Switch" will take care of this functionally, as I mentioned; what I didn't think of is that you could change the icon for the "Switch" template itself if you don't want to mess with anything (else) custom, but that will change all such tiles, of course, not just this one (but could be useful if that's all you do on a particular dashboard). But notably, the on/off toggle itself is the icon, so you won't get that plus something else, just the "something else" that you choose (which could make sense if you use two different bulb icons but would require additional customization if that's not what you're going for).
For me, personally, I've long stopped looking at the icons. The tiles are in positions they've been in for 6-7 years now and I should be relying on muscle memory... BUT.. it happens I don't use Dashboards much, despite hours spent keeping them accurate. I still have to read each tile to find the one I'm looking for. The Icon doesn't help as much as I once thought it would.
I've noticed though, that "a switch with a dumb bulb attached" is a popular item in my home and my mind still thinks of it as a light, not switch. So the NEED for a tile that matches probably existed since inception, and hasn't vanished over time.
Also, I ended up creating a virtual button that runs a rule. I found touching the tile with the button template didn't change how it looked, so I couldn't tell what it was doing. I then tried using a custom icon for it that looks like a bulb, but it doesn't change at all either.
As @csteele said: "I've noticed though, that "a switch with a dumb bulb attached" is a popular item in my home and my mind still thinks of it as a light, not switch. So the NEED for a tile that matches probably existed since inception, and hasn't vanished over time."
So I wish could have a toggle tile that would alternate between off and on and also then be able to pick a custom icon, like a bulb, that would also toggle in sync to look like it was on or off like "normal" bulb icons do on dashboards. Dashboards are made to change the state of something. It doesn't seem to make sense to be able to pick a custom icon but that icon then doesn't change states.
It does, unless you choose the same icon for both states. The template editor I referred to above lets you pick a different icon for on or off, which is ultimately all the switch toggle itself (think of it as the default icon) is doing, too.
not true see pictures this is built in functionality in legacy dashboard and lets you pick the icon.. and it would only apply to that one device/tile
as for the template background etc. i was using smartly..
if you want the same template i can post my templates and advanced tabs from one of my dashboards and then you could paste them into one of yours then modify and add your own devices.
To do what I described above, you'd then want to find Bulb in the templates list, along with whichever state(s) you want to customize:
My statement is correct for the template editor, which is what I was referring to, and I would appreciate it in future posts if you could stop habitually referring to posts written by others as "wrong" or "not true" when the only problem is a lack of contextual understanding, as this is likely to be confusing for others reading at a glance.
You are correct that you can also set an icon for the tile itself (but without further work, it won't change based on states like the template icons can). This is just a different thing.
@Stu_The_K , I found a vestigial entry that, as I recall, changed the background of a button, or something. Thing is long gone now. You're in the CSS arena, which could potentially drive you crazy.