make led modes iterable in the python way

2 jobs for !296 with ecg-ledupdate in 46 seconds (queued for 3 seconds)
latest merge request