Entities Card: Display (changable) Entities as Disabled/Read-Only

Sometimes, by accident, I change the value of an (delicate) entity (like number, select, switch, button, …) in an Entities card just because of my clumsy fingers.

To prevent that, I would like to have to possibility to define either single entities, or maybe even a complete card as ‘disabled’ or ‘read-only’. The entities should then be displayed as normal, but just shouldn’t be changeable directly from the card. (But it can/should remain changable from the entity-popup that opens when you press/click the entity row.)

How it could look like in yaml:

type: entities
readonly: true #optional: disable all entities on this card, or (see below)
entities:
  - entity: number.go_echarger_ama
    name: Max. Ladestrom
    readonly: true #optional: disable a specific entity
  - entity: ...

(I’m aware that there are workarounds available to achieve this, but I think this is a quite basic feature which could be provided by the core implementation.)

There are several options in HACS to lock or password protect cards, including this:

No need to reinvent the wheel.

You can achieve this on an entity-row basis using the template-entity-row which can be installed from HACS. But I agree it would be nice if rows & cards could be made read-only more generically.

1 Like