Hi everybody,
within my dashboards I have regularly the need to show a handful of values in a horizontal row with minimal usage of space. Therefore I choose custom:multiple-entity-row.
Example: status of five windows
Screenshot from the code editor:
My questions:
1.) how can I change the yaml structure to avoid the display of the last value (far right)?
2.) how can I change the status word from “Aus” / “An” to “Zu” / “Auf” or whatever?
3.) what is the easyest way to change the color of the status word, when a window is open?
There is a main thread for multiple-entity-row, suggest to ask there. And some of your questions are covered in Docs.
In short:
There is a special option - “show_state” (if I am not mistaken, check Docs).
You cannot by using a functionality of m-e-r.
Which window? A page containing this card? Means - “change a color on a card”?
What is a “status word”? If this is a label for a state - check Docs for a “styles” option, you can define static css property for some UI elements of the card. For more functionality - ask in the main card-mod thread.
Thank you. In this example I tried to visualize windows status with minimal space usage.
First question is answerd, I discovered “show_state” - that works.
Second question is not multiple-entity-row related. I asked for a working method to change the default output for the state (“on” or in German “An” to an individual word like “Auf”. I tried template sensors - but without success.
Third question concerns to the color of these status. When one of my windows ist open, the status changes from “off” to “on”. In this case I want the word “on” to be red, for example.