I have text and dropdown entities that only is allowed to be changed by scripts and automations. I would also like to show their state in a Entities Card together with other entities that can be changed by the user.
AFAICT there is no such Helper type that just can mirror an entity value as read only.
Is my only solution to use cards that is specialized in showing text only without possibility to interaction?
Does such cards exist that will show an entity value without letting the user to change it’s state?
1 Like
You could create template sensors from your helpers. Sensors are read only. Or use a markdown card:
Thanks, but I choose to give up on this. Way too much config for me right now.
I found using a type of simple-entity did want I needed - the switch became read-only.
2 Likes
… or, if you need to:
- ether show an entity as an input helper - but read-only,
- or make it read-only dependently on a template,
you can use card-mod:
You can do it like this: (where number.battery_charge_rate is the entity that you want to show as read only.
type: markdown
content: >-
The maximum AC charge is set to {{ (int
(states(‘number.battery_charge_rate’))) }}
There’s a better way now:
1 Like