Is there some built-in function that will determine if an entity or device is disabled that can be used within Jinja?
Alternatively, it looks like core.entity_registry indicates when an entity has been disabled, is there any way to get that JSON into a template or Jinja2 object for examination?
I answered my own question here Unavailable / Unknown Entity Monitoring - Template Sensor - Share your Projects! - Home Assistant Community (home-assistant.io)