And it also specifies while on duty, or in a federal location, or wearing a uniform/official insignia, or using a federally owned vehicle.
The POINT of the HA is to prevent gov't employees from using their position/office to support a political cause.