If I understand correctly, this is fairly easy to achieve. Line diagrams, where 2 way and intermediate switches are wired as you would in a non-smart home:   Live --- 2 way sw === 2 way switch --- S1   Live --- 2 way sw === intermediate sw === 2 way switch --- S2     Parameter 20 stays as default (2 = toggle)