A lamp package includes a base for insertion into an electrical socket, a complete dimmable ballast circuit contained within and electrically connected to the base, and a fluorescent lamp, including a CFLP, connected to and dimmed through the ballast circuit. The base includes a thermally conductive body, such as an epoxy, so that the base dissipates heat from the ballast. The package also includes a diffuser, possibly connected directly to the base, that surrounds the lamp. In a further aspect of the invention, the lamp package includes one or more of a variety of sensors, such as a photodetector, that are connected to the dimmable ballast circuit, thereby providing a self-dimming lamp. The self-dimming lamp is suitable for use in a standard Edison socket and with CFLPs to provide a self-regulated light output. Various lighting schemes may be incorporated into the dimmable ballast circuit, such as regulated light output applications.