curl --request GET \
--url http://0.0.0.0:3000/v1/states \
--header 'Authorization: Bearer <token>'[
{
"entity_id": "light.sala",
"state": "on",
"attributes": {
"friendly_name": "Luz da Sala",
"brightness": 200,
"color_temp": 4000
}
}
]Returns the current state and attributes of all entities for the authenticated user.
curl --request GET \
--url http://0.0.0.0:3000/v1/states \
--header 'Authorization: Bearer <token>'[
{
"entity_id": "light.sala",
"state": "on",
"attributes": {
"friendly_name": "Luz da Sala",
"brightness": 200,
"color_temp": 4000
}
}
]