EI 152 then BA 1462 at Heathrow
Dublin → London → Edinburgh
Timetable, London time
08:05EI 152 from Dublin at the gate
20:25BA 1462 to Edinburgh leaves the gate
12 h 20 apart on the timetable
BA 1462 leaves 12 h 20 after EI 152 arrives on the timetable: more than half a day, so not a connection we count.