Neat idea to do this with a house! https://en.wikipedia.org/wiki/Digital_twin
For true old-house spaghetti behind walls, photos or sketches probably matter more. But for handoff and routine lookups, being able to ask for all switches in an area and their positions beats digging through scattered notes.