Bug fix with heater state not been recorded