Is there a (REST) API call to get all identities of a certain type (domain)? For example get all persons or all lights or all sensors. What I can see from the documentation is that it is possible to get all identities (or rather states) across all domains, but then I have to filter the response myself in my code.
Hi, @tmjpugh, I try this with Postman and not work fine. The API calls returns the same response.
CALL1: baseURLforYourHA/api/states
CALL2: baseURLforYourHA/api/states?entity_id=binary_sensor.my_sensor
Both returns all states.
How can i filter with query params?`