How to get a list of areas or devices in my home assistant via API

Viewed 121

I have checked the home assistant documentation page for API's. I could not get and endpoint that would return a list of created areas(kitchen, living room etc) or a list of all my devices.

Is there a way to achieve this?

0 Answers
Related