Well, a pulldown on the other side of the switch wouldn't hurt...
I didn't look extensively (for aforementioned reasons), but I only saw CMOS logic inputs attached to that net, nothing at all to define the logic level otherwise.
The regulator is... making 5.2V or so, and... it's about the shittiest "low dropout" LDO I've seen... never less than 0.8V drop, any current. Gee, thanks. So, you need over 6.5V for operation of this thing. Plus the bother of two divider resistors. Why not just a boring old 7805? They make them in DPAK too. Then you don't have to worry about pesky capacitor ESR choices either (stability plot says >0.1uF should be < 0.08 ohm ESR... have fun with that).
Anyway, it's rated to 125C, and, I guess, power limited, somehow, but they don't happen to tell us how that is achieved. Thanks again, ST.
If you literally used only the minimal footprint, with no copper pour, you're asking for problems. If you have copper pour (about 1 in^2 worth) around the heatsink pad (no thermal reliefs), and/or vias to a bottom side pour, you're okay for about two watts under ambient conditions. If it's going in a box, have fun with that, too...
Was this thing going to run from a 7.0V regulated source, or something? 1A is an awful lot to expect from a linear regulator with no heatsink, let alone if the supply is the full 24V permissible.
Consumption should vary with number of LEDs lit, but I would expect with, what, 40 LEDs or so at 5mA each, you're not much over 0.2A total. So... better go find the other thing(s) that's hot...
And if you can, scope every node to see if 1. it's sitting still when it's supposed to be (not bat shit crazy oscillating or something), and 2. make it transition (press the corresponding buttons, whatever) and see if there's bounce or overshoot or whatever.
Tim