Sensor.available
return null for sensor value if expired
refactor