That was a lengthy title because searching the forums came up with lots of posts mentioning RAG in an LLM context, or the Nabu Casa devices!
I have a system health dashboard which I am looking to rework; in particular I'm trying to get to an overall system health status of Red, Green or Amber. This would be based on sub-statuses for various components: HA itself, my main computer; my ESP32s and my mobile devices. Each would have sub-sub-statuses (HA backup status, HA update status, HA recorder size). To separate logic from display, I'd ideally calculate each of these statuses as template sensors... but this would involve the creation and testing of a LOT of sensors and helpers.
What I'm wondering is, has anyone figured out a more modular way of doing this? Are there any integrations or tools that could make this easier and more configurable?
To give an idea, here's a screenshot of my current health monitor (with RAG status colors via card_mod, sometimes with thresholds defined in helpers and sometimes hard-coded)
And here's an idea of some of the rules I would code
As text
- Overall Health Red if any L2 status red: Amber if any L2 status amber; Green otherwise
2.1 HA Health Red if any L3 status red or > 3 amber; Amber if >=2 L3 amber
2.1.1 HA Disc Red if > warning threshold; Amber if > 50%
2.1.2 HA Database Red if Noisiest Rows > threshold or HA Database Size > threshold; Amber if Noisiest Rows > half threshold

