reorganize device/leds
thanks to https://github.com/aljen/gtlm