Have a problem with this code. Where this sensor is located and how I can fix it, maybe, someone will give a good advice.