I want to pull a single measurement of an entity via REST from Homeassistant.
In the documentation I see for example :
curl -X GET -H “x-ha-access: YOUR_PASSWORD”
-H “Content-Type: application/json”
http://localhost:8123/api/states/sensor.kitchen_temperature.
That gives me an array of all information for the sensor, one of it the temperature.
The GET call I have to use expects just on number back. As I cannot change the call details itself, is there a way to pull just one measurement from the sensor instead of everything via a GET call ?