Thermostat shortcut - increasing target temperature upon button press

Hello Everyone, I am using the following Blueprint to set up my IKEA shortcut button in HA: Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer | Awesome HA Blueprints (epmatt.github.io)

This controller is meant to control the Generic thermostat created for my electric heating panel. The idea is to increase the target temperature of the Thermostat by a defined increment (0.5 °C or 1 °C) with every short press. I found a way to set a pre-defined target temperate, but not to increase the current target temperate with certain increments.

Basically I need something that would check the current target temperature and add 0.5 to it each time the shortcut button is pressed.

Do you have any suggestions on how I might be able to achieve that?

:thinking:Script

alias:  Temp+1
sequence:
  - service: climate.set_temperature
    data:
      temperature: "{{ state_attr('climate.xxxxx', 'temperature') + 1 }}"
    target:
      entity_id: climate.xxxxx
mode: single
1 Like

That is exactly what I was looking for, thank you very much! :slight_smile: