add luminosity sensor support