Trying to change temperature on thermostat when temp drops or goes up

The automation yaml looks like this.

- id: '1633724081046'
  alias: Ogrz garaż wyłącz
  description: ''
  trigger:
  - platform: state
    entity_id: climate.tze200_cwnjrr72_ts0601_321825fe_thermostat
    attribute: current_temperature
    from: '11'
    to: '13'
  condition: []
  action:
  - service: climate.set_temperature
    target:
      entity_id:
      - climate.tze200_cwnjrr72_ts0601_321825fe_thermostat
    data:
      temperature: 6
      hvac_mode: heat_cool
  mode: single

I want to change temp when current temp on this decive goes above 11. But it doesnt work.

Use a numeric state trigger instead instead of a state trigger, so that you can specify that the automation trigger when the temperature goes above 11. The trigger as you currently have it will only trigger when the temperature goes from exactly 11 to exactly 13.

Can You tell me where I can find those function or how to write them? I checked on HA climate description but they don’t expand on this.

I mean I don’t know what options I have after current_temp attribute.

Found it :relaxed: thank you