Integrated power phototriac for medium AC loads