Updated sensor to control heating element via GPIO