I mean I’m ok with that, but give me a options to to have a default value when unavailable.
I have a solar inverter that goes unavailable when shutting down for the night, and a ZigBee plug that sometimes loses connection… Now for both I am showing the power produced / consumed in a nice dashboard, including a sum of produced/consumed instantly.
Every time these two devices are going unavailable, the dashboard breaks.
I fixed by creating a helper that returns 0 if the value is unavailable, but creating a helper for each item is annoying, what if I have 20 of those plugs?
Just give me an option to set a default value when unavailable (for example 0, so the sum or difference of power does not break) and still visualize the dashboard card, don’t show a yellow error.