Getting the Temperature set on a Nest Thermostat

I am trying to get the value that the Nest Thermostat is set to, so I can adjust the TRVs in the house.

Does anyone know how to get the value that the Thermostat is set to? It looks like the current temp, from the sensor on the device is available, but not the Set temperature.

The best I can come up with is :
states(‘climate.kitchen.temperature’)

This doesn’t work though :frowning:

Note : the thermostat is called ‘kitchen’

1 Like

This should get you what you’re after:

state_attr('climate.kitchen','temperature')

Yes that’s it. Thanks :slight_smile: :star_struck: