Solve Adjacency - Interior walls and Adiabatic Surfaces


I have this layout where the walls highlighted in blue should be adiabatic but the walls highlighted in black shouldn’t be. Any suggestions how I can account for that?
At the moment I’m using make adiabatic component but it’s considering all interior walls together, script shown below and all interior walls would be picked up as adiabatic.
thanks :slight_smile: