Where is the list of devices stored on a Home Assistant green device?

Hello,

I am trying to create some dashboards in Grafana. I would like to import the list of devices on my Home Assistant. However, I don’t know where the Home Assistant Green stores this information.

The “Devices” tab from the “Devices and Services” option under “Settings” has the information I want. It’s unclear to me where it’s getting this data from though.

Can someone please point me in the correct direction?

Internally there are lists of your entities here: Settings → Devices & Services → Entities tab, or here: Developer Tools → States.

Though perhaps you want the rest API GET command: /api/states see: https://developers.home-assistant.io/docs/api/rest/

1 Like