Add hap output support and dimming