WTH can’t we define two icons?

For binary state entities (binary sensors, switches, input booleans) can we have this please?

Seems like a dup / strongly related to:

|WTH can't dashboard tab icons change with entity states or show notification badges?

This is splitting the voting on the same problem.

Nope. Not a dupe. That other WTH seems to be asking for changes to the view icon (it’s not very clear what they mean by “tab icons”).

This asking for a change to (binary state) entities.

The other one specifically examples if the mail is there or not and others. Sounds binary to me.
Think of it as if someone goes to tackle that problem, is this the same project and if so, lets capture both problems into one voting block.

So report it as a duplicate and let the mods decide.

The other one is all over the place. WTF is a “tab bar”?

This one has a clearly defined interface for the new FR.

EDIT: nope I re-read it they are specifically talking about giving a state to the view icons and only the view icons.

The want to see the view icon change state.

Already did. OP’s were complaining their stuff was disapearing and Petro wasn’t having the bandwidth to explain every time, so I added the post on why I think it’s a dup as well as flagged it.

It really is no wonder you are one of the most ignored people on the forum and that people think you are an LLM. Goddbye.

This WTH is somewhat related to the following FR in GitHub:

You definitely have my vote for this…

I am not sure they are the same issue. Changing a dashboard display is local, changing it at entity level is global.

Being able to define this at entity level and not in dashboard is a way to have it right everywhere and once for all:

  • in the automatic dashboards or sections
  • in the more info of entities
  • in the default card setting for custom dashboard
  • in all the parameter pages

The subject can be linked with this one adressing the color of the icon: WTH: Conditional coloring for entities and their icons

Both are worth a vote IMHO

I assume you’ve seen my post in the other WTH .. where OP specificly means in the View-Tabs, in the Header of a Dashboard
WTH can't dashboard view icons change with entity states or show notification badges? - #10 by boheme61 .

In My opinion , 2 Options for each state-icon in All suitable Native Cards as -suggested here…
is not the same as “nested” into i.e the Left-Pane Menu Tabs , Or Dashboard-Header.View-Tabs(Buttons) or what ever people will call those ( In Official DOCs , It’s “links/Tabs” to the VIEW’s You can Add to a Dashboard’s Header, so basically the other WTH is Dashboard/View-Icons ) , And Not State.Icons in Cards

And This " State Icons In Cards " gets +1 (100 if i could use more), as it seems like an easy “fix” :laughing:

PS: I know in some cards there are Default “different” icon, i believe Natively changing i.e color/icon of battery states , in entities & Tiles + ( I.e Door-Sensor ) + Device_tracker

So Why Not 2 State-Icons, if non-chosen reverts to default for (i.e batteries, climate etc)
Both i.e Door(binary) and i.e Cover is used for Many Purposes i.e i use Cover for Valves

I would not limit this idea to just binary entities. I think it has been asked for in the past WTHs as well.

Basically, some entities types have default icons that change depending on state. You can only change it by changing the device class, but it’s just changing to a different set of icons and state labels that we have no control over. And if you change the icon in the UI, you lose this functionality and cannot easily recreate it.

It’s not just about binary sensors, it’s also lights, covers, probably non binary sensors too.

There used to be a table somewhere in the documentation showing the different icons depending on device class, but I can’t find it anymore.

Depending on entity there may be more than 2 icons, I think for example covers have open, close, but also opening and closing.

It was here, under binary sensors: https://www.home-assistant.io/integrations/binary_sensor/#device-class

Looks like another section of the documentation has been “improved” to the point of becoming useless.

Yeah, I think it was there and similar one in the covers. To be fair, the improvements to documentation in other areas (especially templating) that were also done this year, more then make up for this.

No they really don’t. Templates excepted, the documentation is now more difficult to use.