I am still configuring everything in Yaml, and no need to comment on that !
I searched the forums, but can’t find what I am after.
I have a lot of batteries that I am monitoring, and I would like a single sensor that monitors if any of those are under a specific value, so I can mark in my top menu bar with a color, that attention is required. As you can see from the screenshot I already have that in the particular view, I would just like to have that in the menu pane as well, so I dont have to check the view manually periodicly.
I’m sure this can be done, probably by templating, but haven’t done this before.
That does not give the correct result. The battery state is a string, and when comparing against the string “4” what gets compared is only the first character, meaning a battery level of say “100” will be deemed as less than “4”.
I use custom battery card in combination with auto entities. Then I have card showing overview of batteries requireing attention and can unfold all remaining ones. Here is the code: