Only show state of a switch

Hi there,

ist there any possibility to show just the state of a switch in an entity-card?

thanks and regards
BJ70

Wrap it in a template sensor and display that.

How should Info that?
I have no skills in doing templates

If it doesn’t necessarily have to be a Entity Card, chose a Button Card and block the action functions.

1 Like

What card do you want to use? The normal entity card will only show the state:

type: entity
entity: switch.my_switch

If you use an entities card, you can show the state instead of the toggle by using type: simple-entity:

type: entities
entities:
  - entity: switch.my_switch
    type: 'simple-entity'
2 Likes