Fit the module above a ceiling rose in the ceiling void - which should be in an enclosure to avoid any single insulated cables for BS7671.
One method is to use a hole drill smaller than the distance between the typical two mounting screws to enlarge the existing cable hole (safely isolate, tape the wires together, push up into the void, hole drill, pull back, fit module through the hole, refit rose).
Ignore the 2-way switching complication - the module doesn’t care as it just sees a normal latching switch input like any other (that is without long-press dimming which needs a parallel rewire and MK momentary switches - but not typical on a stairway).