catch ValueError if /dev/lights is not present