I wish to create a variable that I can set in an automation. To-date, I have used a Number Helper. The problem with this is, that when displayed in an Entity Card, it is editable. And looks different.
What sort of helper do I need that will display like a sensors?
I want the lower display to look and look like the top one and be read only.
In the hope that a YAML snippet makes my question clearer
does it have to show in the entity card? you could use something like a title card. however if you click through on the title card and get to the underlying entity, then you can still modify that.
the other alternative is to create a template sensor. have the template be {{ input_number.kwh_at_night_rate_start }}
Another option: sometimes you need to keep displaying helpers as helpers - but read-only with disabled sliders, edits, checkboxes; and with grey “disabled” color. Also if this “read-only mode” is supposed to be conditional like “if user = someone” or “if anything = something”. This may be done by card-mod.
Thank you all for your suggestions. I’ve been working with Tom’s suggestion which gets me near what I was hoping for but… Isn’t there always!
Adding the type: simple-entity stops the Entities card from using the Visual Editor.