How to create multiple climate entities to use with multiple thermostat cards?

Hello everyone,
I added the generic thermostat now a few weeks ago (id don’t remember if it was trough code or from menus, next next), and today I finally managed to install all the electric valves to my underfloor heating system, and I wanted to add more thermostats but it seems I only have one climate entity and can’t find a way to add a new climate entity, every time I add a thermostat , either Better Thermostat (HACS) or the Generic thermostat it automatically selects the initial Bedroom climate entity. … I don’t know what I’m missing here, anyone around to let me know why I don’t see the option to create a new climate entity? In my configuration.yaml I have just this:

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

zha:
  custom_quirks_path: config/custom_zha_quirks/

do I need to add the code manually (the one bellow)? As I don’t think so because there is no Bedroom thermostat (the already created thermostat that works)

climate:
  - platform: generic_thermostat
    name: Another Room Thermostat
....

Also I’m amazed that there are so few people with Normally Open NO electro-valves for their underfloor heating system, as I couldn’t find any thermostat to have this option as a toggle switch (NO or NC). If I set it to COOL mode the dashboard looks weird, it says it’s cooling instead of heating… the other way around as I found out is to create some virtual switches that reverse the action of the thermostat switch.
Those are the only options to have a thermostat working properly with Normally Open NO thermoelectric valves ?

Thank you

1 DAY LATER UPDATE :slight_smile: I find out that the right way is to add trough integrations, every new room thermostat needs to be added trough Integration - > Generic thermostat. I deleted all the YAML thermostats and added them all trough UI.

After all, I couldn’t find a way to add more climate entities trough UI so I edited the main configuration.yaml file and added those 2 lines at the end of the file:

climate: !include climates.yaml
switch: !include switches.yaml

The climates.yaml files has all the EXTRA thermostats, except the first one that I don’t know where exactly is saved. The first one can be updated trough UI, all the other ones that are created in YAML file can’t be updated trough UI also the GENERIC THERMOSTAT option menu is missing

- platform: generic_thermostat
  name: "Kitchen Thermostat"
  heater: switch.ipat_kitchen_reversed 
  target_sensor: sensor.kitchen_temperature
  min_temp: 10
  max_temp: 25
  target_temp: 21
  cold_tolerance: 0.3
  hot_tolerance: 0.3
  away_temp: 16
  precision: 0.1
  unique_id: kitchen_thermostat_1
  
- platform: generic_thermostat
  name: "Livingroom Thermostat"
  heater: switch.ipat_lounge_2_reversed 
  target_sensor: sensor.living_room_temperature
  min_temp: 10
  max_temp: 25
  target_temp: 21
  cold_tolerance: 0.3
  hot_tolerance: 0.3
  away_temp: 16
  precision: 0.1
  unique_id: livingroom_thermostat_1
    
- platform: generic_thermostat
  name: "Main Bathroom Thermostat"
  heater: switch.ipat_bath_reversed 
  target_sensor: sensor.bathroom_temperature_temperature
  min_temp: 10
  max_temp: 27
  target_temp: 22
  cold_tolerance: 0.3
  hot_tolerance: 0.3
  away_temp: 16
  precision: 0.1
  unique_id: main_bathroom_thermostat_1
  
- platform: generic_thermostat
  name: "Office Thermostat"
  heater: switch.ipat_room_1_reversed 
  target_sensor: sensor.office_temperature
  min_temp: 10
  max_temp: 25
  target_temp: 20
  cold_tolerance: 0.3
  hot_tolerance: 0.3
  away_temp: 16
  precision: 0.1
  unique_id: office_thermostat_1
  
- platform: generic_thermostat
  name: "Hallway Thermostat"
  heater: switch.ipat_lounge_reversed 
  target_sensor: sensor.living_room_temperature
  min_temp: 10
  max_temp: 25
  target_temp: 20
  cold_tolerance: 0.3
  hot_tolerance: 0.3
  away_temp: 16
  precision: 0.1
  unique_id: hallway_thermostat_1  

The switches.yaml file has now this content:

- platform: template
  switches:
    ipat_entrance_reversed:
      friendly_name: "IPAT Entrance (Reversed)"
      value_template: "{{ is_state('switch.esphome_web_ipat2_ipat_entrance', 'off') }}"
      turn_on:
        service: switch.turn_off
        data:
          entity_id: switch.esphome_web_ipat2_ipat_entrance
      turn_off:
        service: switch.turn_on
        data:
          entity_id: switch.esphome_web_ipat2_ipat_entrance

    ipat_room_1_reversed:
      friendly_name: "IPAT Room 1 (Reversed)"
      value_template: "{{ is_state('switch.esphome_web_ipat2_ipat_room_1', 'off') }}"
      turn_on:
        service: switch.turn_off
        data:
          entity_id: switch.esphome_web_ipat2_ipat_room_1
      turn_off:
        service: switch.turn_on
        data:
          entity_id: switch.esphome_web_ipat2_ipat_room_1

    ipat_lounge_2_reversed:
      friendly_name: "IPAT Lounge 2 (Reversed)"
      value_template: "{{ is_state('switch.esphome_web_ipat2_ipat_lounge_2', 'off') }}"
      turn_on:
        service: switch.turn_off
        data:
          entity_id: switch.esphome_web_ipat2_ipat_lounge_2
      turn_off:
        service: switch.turn_on
        data:
          entity_id: switch.esphome_web_ipat2_ipat_lounge_2

    ipat_room_2_reversed:
      friendly_name: "IPAT Room 2 (Reversed)"
      value_template: "{{ is_state('switch.esphome_web_ipat2_ipat_room_2', 'off') }}"
      turn_on:
        service: switch.turn_off
        data:
          entity_id: switch.esphome_web_ipat2_ipat_room_2
      turn_off:
        service: switch.turn_on
        data:
          entity_id: switch.esphome_web_ipat2_ipat_room_2

    ipat_kitchen_reversed:
      friendly_name: "IPAT Kitchen (Reversed)"
      value_template: "{{ is_state('switch.esphome_web_c56e68_ipat_kitchen', 'off') }}"
      turn_on:
        service: switch.turn_off
        data:
          entity_id: switch.esphome_web_c56e68_ipat_kitchen
      turn_off:
        service: switch.turn_on
        data:
          entity_id: switch.esphome_web_c56e68_ipat_kitchen

    ipat_bath_reversed:
      friendly_name: "IPAT Bath (Reversed)"
      value_template: "{{ is_state('switch.esphome_web_c56e68_ipat_bath', 'off') }}"
      turn_on:
        service: switch.turn_off
        data:
          entity_id: switch.esphome_web_c56e68_ipat_bath
      turn_off:
        service: switch.turn_on
        data:
          entity_id: switch.esphome_web_c56e68_ipat_bath

    ipat_gallery_reversed:
      friendly_name: "IPAT Gallery (Reversed)"
      value_template: "{{ is_state('switch.esphome_web_c56e68_ipat_gallery', 'off') }}"
      turn_on:
        service: switch.turn_off
        data:
          entity_id: switch.esphome_web_c56e68_ipat_gallery
      turn_off:
        service: switch.turn_on
        data:
          entity_id: switch.esphome_web_c56e68_ipat_gallery

    ipat_lounge_reversed:
      friendly_name: "IPAT Lounge (Reversed)"
      value_template: "{{ is_state('switch.esphome_web_c56e68_ipat_lounge', 'off') }}"
      turn_on:
        service: switch.turn_off
        data:
          entity_id: switch.esphome_web_c56e68_ipat_lounge
      turn_off:
        service: switch.turn_on
        data:
          entity_id: switch.esphome_web_c56e68_ipat_lounge

and I also added the reverse switch so the underfloor heating system works as it should, with the NORMALLY OPENED valves, this way when the thermostat set to heating needs to turn on HEAT, it turns on the reversed switched, the template of the reversed switch will turn off the real switch connected to the valve .
When the thermostat turn off heating reversed switched, the real switch turns on and finally the valve is actuated and stops the flow of water trough the underfloor circuit.

I find NORMALLY OPENED valves the best option, as no matter what happens to the automation, to the smart home brain, the heating in the house won’t be affected, as all circuits are opened and the heating can be set trough the gas heater temperature setting. In my case I use only 32 - 33 degrees for the water, it works smoothly and the gas consumption is quite low.

So this is the only way to have multiple thermostats added to HA, multiple climate entities? Isn’t there a way to have all the thermostats with this menu available: GENERIC THERMOSTAT OPTION.? This menu is missing in all the thermostats created trough yaml, only the first thermostat I created has this option, and I don’t understand why : (

Thank you