How to Hide Entity Toggle Switch

I’ve been searching high and lows for ways to hide each individual entity but I don’t have any luck. Ideally, I would like to control all the entities with one Header Toggle Button and in place of each entity toggle show the status like “on/off”. One way to do this is put them into groups.yaml but the group parameters don’t even have an option to “hide” or change the look of the toggle button for each entity.

I also tried setting in customize.yaml the following but the toggle switch that for that entity did not hide.

switch.wf_sign:
  icon: mdi:led-strip-variant
  hidden: true

Can you give me some hints on how to accomplish that?

1 Like

If you want to hide the toggle, that’s done in the card now, not the entity. For example here.

I think OP wants to hide the control for individual entities and only show the card toggle. Not sure HA allows this, but you could workaround by creating template sensors for each entity and show them in card instead. Then place a group entity at top with an exposed control.

2 Likes

I might be late to the party, but I have just faced the same problem, and I couldn’t find this solution on the forums. Fortunately I could solve the issue by specifying simple-entity as the type of the entity object (I found this option here:

entities:
  - entity: switch.wifi_plug_2_socket_1
    type: simple-entity

This makes the switch show its state rather than the toggle:

image

12 Likes