New: dayandnightsensor