Yea, this was mentioned early in the game's life but it's worth bringing up again.
Gym's giving type advantages (similar to STAB) would be a great change to influence gym variety. It would also be consistent with how most gym leaders in the games have a mono-typed gym. Giving a damage boost and CP-adjustment based on the boost would make having a "top-of-its-type" pokemon worthwhile regardless of if the type is underpowered.