Daylight sensor does not have attributes lat and long

Yes, that would make sense.