Automation Extracting Tempature

Need Automation Help
I am attempting to monitor a Temp and when a specific temp is reached downward I want to send a notifacation with Telegram. What I can’t seem to make happen is extract the temperature value
“current_temperature”: 65,
Out of the Entity
climate._thermostat
From the
State attributes (JSON, optional)
{
“temperature”: 65,
“current_temperature”: 65,
“current_schedule_period”: “Monday”,
“hold_mode”: “PermanentHold”,
“operation_list”: [
“off”,
“heat”,
“cool”,
“auto”
],
“operation_mode”: “heat”,
“friendly_name”: "
Thermostat",
“max_temp”: 90,
“away_override”: false,
“schedule_sub”: “NA”,
“away_mode”: “off”,
“min_temp”: 50,
“unit_of_measurement”: “°F”,
“schedule”: “Timed”,
“supported_features”: 1223
}
Thanks for any assistance.

If I’m understanding you correctly… you could use a template to get that attribute.

Try this:
{{ states.climate._thermostat.attributes.current_temperature }}

If that’s not what you’re looking for, let me know.

Thank You!! That worked perfect.

  • action:
    • data:
      message: Temp below 66
      service: notify.telegram
      alias: ****** Home Low Tempature
      condition: []
      id: '*************
      trigger:
    • below: ‘66’
      entity_id: climate._thermostat
      platform: numeric_state
      value_template: '{{ states.climate.
      _thermostat.attributes.current_temperature
      }}’