Change state text on entity card #1937
Replies: 2 comments 1 reply
|
Short answer: the entity card has no option to override the displayed state text - your template card is currently the supported way. But depending on where that entity comes from, there may be a cleaner fix than templating anything. Why there is no knob: checked the card source, the entity card config schema only accepts The cleaner path: your entity is a So:
On the visual difference you noticed: it is real, not your setup. The template card renders its icon through HA's tile styling, while the entity card uses Mushroom's own shape icon component (the shaded circle comes from that component plus its If you want to keep the Mushroom look AND custom text today, one middle ground: keep the entity card and accept the native wording after step 1, or file a feature idea here for a Caveat stated plainly: verified against the current card source and HA core translation files; did not test against your specific washer integration. Sources: |
|
Actually, I have a similar question about displaying remaining times: Preferably while still keeping the shape component 🙂 |

Short answer: the entity card has no option to override the displayed state text - your template card is currently the supported way. But depending on where that entity comes from, there may be a cleaner fix than templating anything.
Why there is no knob: checked the card source, the entity card config schema only accepts
entity,name, andiconfrom the shared entity config; the rendered state text comes straight from Home Assistant's own state formatting (formatEntityState) with no per-card override.The cleaner path: your entity is a
sensor.*showing On/Off, which is why HA prints those raw words. Home Assistant itself already has the vocabulary you want - abinary_sensorwithdevice_cl…