The case is about wanting to have a way to easily see how much electricity the house is consuming and where the electricity is coming from.
The idea was to use a gauge card and dynamically set the severity or segments’ values. The gauge card would be green when using only solar panel power, yellow when using power from battery, and red when buying power from grid. However, the current implementation using a template does not work because the segment sizes do not change when there is no solar power available at night.
I am looking for an alternative solution that is easy to understand at a glance and dynamic. I am not limited to using a gauge card with a pointer.