I canāt tell if Iām doing this wrong or if itās a bug, or if Iām trying to request a feature. I noticed I could group things in filters by using multiple entities. However, I canāt seem to get the state filtering to work. I also can tell that Iām using two different formats (name vs entity) but I found both between this thread and the readme. Iām not sure which method is preferred/depreciated
What I would LIKE this to do is to list all devices < 30% first, then show bedroom, living room, etc. Iāve included a screenshot. As you can see the ST laundry room sensor is at 16% but itās WAY below the top. The multiple include grouping works perfectly for the rest of the entries.
If this isnāt a bug, and is actually a feature request what would REALLY be ideal is being able to show all devices under 30% then collapse immediately after.
Iād like with this card to change the value of the exclude state, base on an input number, i try some syntax but nothing work for now. Do yo thin is possible ?
Iāve tried different configuration options but havenāt figured this one out. Is it possible to have the sensors reporting āUnavailableā in red? Now itās in āstandardā color.
IMO It wonāt be possible with the card-mod unfortunately.
There is no css class added in battery entity row (HTML) indicating that the state is āunavailableā. Since there are no CSS selectors which allow you to set certain styles depending on the content of the HTML element then there is no way to set the color of that element only for āunavailableā cases.
You may be right, and Iāve not played. However, it might be possible to use config.entity In a template to check the state of the entity and modify the colour accordingly.
That is interesting. I admit Iām not very familiar with card-mod and I didnāt know about such option. If anyone tries and succeeds please let me know.
Have you checked documentation? There is an example for this use case:
The only thing which is missing in this example is that instead of color_gradient it would be better to use color_thresholds and set color/values to something more meaningful as by default it is for 0-100 range while lqi is 0-255 range.
I have been able to use the card based on the description and the forum, but had a question for a formatting option to make it show more directly what I need on top. I am loading the car in a popup. All works:
This is how it looks like:
What I would like to achieve is to have the lowest levels be in the top (uncollapsed section). For some reason, I have a 77% in the collapsed, and a few 83% on top. I have it set to asc.
Another thing I would like to see how to go about it is that some of my sensors are binary_sensors, they do not send a level, but only if battery is low.
The return is on of off. I would like to have the on sensors be also returned to the top of the list.
the weird thing is my phone does not show up and it is on the charger.
any chance this can be accomplished with this?
Here is my code, I have excluded a bunch of sensors I created to get some count of total batteries, etcā¦