Help with open windows/doors and rads being on

Hey all
Got 10 rooms in the house, each one has evohome TRV and SmartThings door/window sensor
I want some help please, so that I can get a notification if any room has the rad on (“heating”) and a window/door is open or becomes “open”

The idea being I can then turn the rad off or close the window and not waste energy!

Anyone done this or got something that could work please l?

ive got this so far, however this only does 1 combination of a door and a rad, in the same room.
is there anyway to amke this dynamic, so you can have any grouping of rooms?
or do i need to replicate this for each room (x12)

- alias: Rad On Something Open Alert - Office
  trigger:
  - platform: state
    entity_id:
    - binary_sensor.office_door_sensor_contact
    to: 'on'
  - platform: state
    entity_id: 
    - sensor.radiator_status_office
    to: 'heating'
  condition:
  - condition: state
    entity_id: binary_sensor.office_door_sensor_contact
    state: 'on'
  - condition: state
    entity_id: sensor.radiator_status_office
    state: 'heating'
  action:
  - service: persistent_notification.create
    data_template:
      message: "Office Door is open and the Rad is on!"
      title: Office Door open - Rad on!
  - service: notify.notify
    data_template:
      message: "Office Door is open and the Rad is on!"
      title: Office Door open - Rad on!
  - service: notify.alexa_media
    data_template:
      message: "Office Door is open and the Rad is on!"
      data:
        type: announce
        method: all
      target: media_player.xx_s_echo_spot
  id: xxxxxxxxxxxxx