italo-lombardi/Home-Assistant-EntityAvailability — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Home Assistant custom integration that helps me see which devices or entities are offline without digging through settings. I want to create named groups like security, climate, or media, pick the entities to watch, and choose which states count as bad, like unavailable or unknown.

It should wait through short connection blips before marking something offline, remember availability history, and keep working after Home Assistant restarts. Please add sensors for offline count, offline names, recently offline, recently recovered, and availability percentage for today plus 3 day, 5 day, and 7 day windows.

I also want low battery and stale data to show as degraded, with a way to map battery sensors or let the integration find them. Add a simple maintenance or suppression option so I can ignore devices temporarily or indefinitely. Include combined groups so I can roll several groups into one overall health view, and make a clean Lovelace card with traffic light style status. Look up current Home Assistant docs if needed.

Want more depth? Deep Reverse