I'm replacing some switches in a room and have a question about a connection coming off one of them. It's a 3 gang box with one three way switch, one single pole switch, and one single pole dimmer. My question is relating to the ground coming off the dimmer and what it's connected to. Is the black acting as a ground in this scenario? It's definitely not hot. Or maybe it's just dead-ended? Seems like the ground off the dimmer should have been connected to the rest of the grounds instead of what it's currently connected to. (I'm actually trying to replace the dimmer with a non-dimmable single pole switch.)
Should just cap it off? Just kind of curious overall as that wiring configuration seems strange for that top right wire.
I've provided a diagram that shows the various wires coming into the box.
Any feedback would be appreciated.