Grouping thermostats?

Could anyone provide a suitable method for grouping thermostats?

I am seeking an automation or process that will ensure both my dining room and living room temperatures match when I adjust the temperature to my Hall Temperature.

However, I would like both the living room and dining room to be independent. So Hall Temperature changes will be reflected in the living room and dining room, but the other two rooms will remain independent.

Are there any suggestions on how to code this for Home Automation?

I think what you’re asking for is:

triggers:
  - trigger: state
    entity_id: climate.hall
    attribute: temperature
actions:
  - action: climate.set_temperature
    data:
      temperature: "{{ trigger.to_state.attributes.temperature }}"
    target:
      entity_id:
        - climate.living_room
        - climate.dining_room