Untested, will test it personally in next couple of days but sincerely expect it will work so committing. Todo: Test properly. Improve comments and possibly link to wiring example(s).