Here's what I'm testing in Python:
Without line 13, I can connect to the S88 MK3 fine, all LEDs are functioning and MIDI messages still send to the computer, knobs / keys / buttons / wheels work fine.
As soon as I add in line 13, all the lights go off and piano key inputs stop sending MIDI messages, knobs / keys / buttons / wheels stop working. Only the screen is left on which I cannot interact with.
Basically trying to update the lights on the controller from MIDI playback on macOS 15.5 for piano learning and this simple initialisation script is proving to be difficult to progress further.