Hello.
Is there any way to retrieve the state of a “group” of entities?
Using the command below returns all entities:
curl -X GET -H "Authorization: Bearer ABCDEFGH" \
-H "Content-Type: application/json" http://localhost:8123/api/states
Using the command below returns me from a specific entity:
curl -X GET -H "Authorization: Bearer ABCDEFGH" \
-H "Content-Type: application/json" \
http://localhost:8123/api/states/sensor.kitchen_temperature
Using the command below returns the entities of the group, but does not return the status of each one of them:
curl -X GET -H "Authorization: Bearer ABCDEFGH" \
-H "Content-Type: application/json" \
http://localhost:8123/api/states/group.aaa
What I would like is to filter the entities, like:
http://localhost:8123/api/states/light.all
Or all sensors starting with aaa
http://localhost:8123/api/states/sensor.aaa