Hi Taras,
I have been using the Ikea rocker switch to manually adjust the generic_thermostat temperature with great success (using the code you offered above) and also have the actual and target thermostat temperature being displayed on an ESP32 TTGO T-Display.
I have also just added a couple of additional automations to allow the same rocker switch to turn the general_thermostat on/off, but wondered if it could all be combined in one, as per your fist solution?
This is the .yaml for the on automation:
alias: New ikea long hold heater on
description: ""
trigger:
- device_id: d7801919c3628a93bbb9bb67b76594eb
domain: zha
platform: device
type: remote_button_long_press
subtype: dim_up
condition: []
action:
- service: climate.turn_on
metadata: {}
data: {}
target:
entity_id: climate.lounge
mode: single
Or should it all be dooable easier using the blueprint?