I need to retrieve, programatically(*), the list of all entities and their attributes (notably its label(s)). I will then filter for specific labels and inquire about their state.
After having gone though Entities: integrating devices & services | Home Assistant Developer Docs, Config Entries | Home Assistant Developer Docs, Hass object | Home Assistant Developer Docs and other docs I cannot find THE place to query in order to get both the entities list and their attributes (I found how to get a bare list of entities, that’s all).
What is the proper way to access them?
(*) I will be using pyscript
for that