Read only number entity

Hello,
google and the forum search didnt show something answering my question.
(Maybe my keywords were not the best. I am sure someone asked this already)

I got some mqtt number entities.
They will be controled via some automations and should be shown in the dashboard.
When I put the mqtt number entities in the ui they can be controlled and a number can be set.
I want them to show only the values read only.

Am I right that i have to create a template sensor for each mqtt number and show this sensor in the ui?

Or is there a simple solution to use the number entity read only?

Yes, you are correct

For all of those reading this thread, I found a solution without using a template:

You can simply add type: simple-entity to the entity in the ui like this:

type: entities
entities:
  - entity: type.name
    type: simple-entity

See Docs under options-for-entities → types

5 Likes