Implemented APIs for the flame sensor