Oh, that's just the switch. Got it. Been working on Allroads since they were new, and have never had to replace one of those, except for when the writing wears off, so for cosmetic reasons.
Now, related to the actual ride height problem, a vag-com or scan using another Audi specific scan tool, to check address 34 for faults, is absolutely necessary. Those fault codes will help narrow down and pinpoint the issue. I could throw out a lot of maybes here, since I do work on a LOT of these, including my own, but I don't want you to shotgun parts at this, as that can be expensive. The one last visual item you can check is to make sure the rods from the suspension level sensors at all 4 corners are not broken.
Beyond this, a scan is necessary
I'll show you examples of these rods.
Blue in this pic (front suspension). Similar setup in the rear.