Switching heater multizone generic thermostat plus TRV local setup

Hello,
I have the following automation code which turns the boiler on or off depending on the status of 3 Generic Thermostats, depending on whether heat is required or not. Which works fine. (via a Shellyplus1 switch)

My question is, how should I change the automation if I want to replace one of the generic thermostats with a TRV (Sonoff) valve with a dial on it to set the desired temperature directly on the radiator (so not on the home assistant GUI).
The TRV entity ID is climate.0x0cae5ffffeb13446
Thank you very much!

Automation.yaml

- id: '1626606255114'
  alias: Heating switch
  trigger:
    - platform: state
      entity_id: input_boolean.nappali_futes
    - platform: state
      entity_id: input_boolean.haloszoba_futes
    - platform: state
      entity_id: input_boolean.kristof_futes
    
  action:
   -  service: 'switch.turn_{{ trigger.to_state.state }}'
      target:
        entity_id: switch.shellyplus1_d4d4daf3a53c_switch_0

Configuration.yaml

'input_boolean:
  nappali_futes: 
    name: Nappali Fűtés
    initial: off
  haloszoba_futes: 
    name: Hálószoba Fűtés
    initial: off
  kristof_futes: 
    name: Kristóf Fűtés
    initial: off

climate:
  - platform: generic_thermostat
    name: Nappali termosztát
    heater: input_boolean.nappali_futes
    target_sensor: sensor.a4_c1_38_ec_d0_56_d056_temperature
    min_temp: 15
    max_temp: 30
    ac_mode: false
    target_temp: 22
    cold_tolerance: 0.3
    hot_tolerance: 0
    min_cycle_duration:
      seconds: 5
    keep_alive:
      minutes: 3
    initial_hvac_mode: "off"
    away_temp: 16
    precision: 0.1'