There is an exception to Section 725-54(a)(1). 2 in the NEC allows low-voltage cables and higher-voltage conductors to be in the same enclosure where the higher voltage conductors are only introduced to connect to the equipment.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.