Flush mounted power module, dimmer for electronic transformers (phase alignment)