APT is able control flat panels and telescope covers that have ASCOM drivers via the Flat Panel / Cover Aid.
The flat panels support in APT was implemented before the definition of the ASCOM standard for these devices so for the flowing models you can also use Extra Devices to control them directly via serial communication.
The connection to flat panel (ASCOM or Serial) is used by CCD Flats Aid and during Flats Type imaging plan execution (in bothDSLR and CCD/CMOS modes). APT synchronizes the flat panel flashing with the running exposure.