Inclination switch, float switch