Here is how to add a Shairport Sync device to the Apple Home application on iOS 15.3.1. Note that Shairport Sync has to be built with AirPlay 2 support.
+Step 0: Speaker & TV access.
+---
+
+In the Home app > Home settings "Allow Speaker & TV access", select the option "Anyone On the Same Network".