An inhalation device controller comprising: a power supply unit configured to supply power to an atomizer including a heater configured to heat an aerosol source; a detection circuit configured to detect a resistance value of the heater ; a processor configured to generate a control signal (SWC1) in accordance with a smoothed signal generated by smoothing information obtained using the detection circuit ; and a holding portion configured to hold the atomizer in a detachable state, wherein the holding portion includes a first electrical contact and a second electrical contact , and when the atomizer is attached to the holding portion , the first electrical contact contacts a third electrical contact provided in the atomizer , and the second electrical contact contacts a fourth electrical contact provided in the atomizer , the power supply unit supplies the power to the heater via the first electrical contact and the second electrical contact , and information obtained using the detection circuit is affected by stress applied to the first electrical contact , the second electrical contact , the third electrical contact , and the fourth electrical contact when attaching the atomizer to the holding portion , characterized in that the processor is configured to detect attachment of the atomizer to the holding portion based on the smoothed signal, and to acquire, based on the smoothed signal, the resistance value of the heater at a given temperature as a reference resistance value of the heater after the smoothed signal converges in a predetermined range after the attachment of the atomizer to the holding portion is detected. a power supply unit configured to supply power to an atomizer including a heater configured to heat an aerosol source; a detection circuit configured to detect a resistance value of the heater ; a processor configured to generate a control signal (SWC1) in accordance with a smoothed signal generated by smoothing information obtained using the detection circuit ; and a holding portion configured to hold the atomizer in a detachable state, wherein the holding portion includes a first electrical contact and a second electrical contact , and when the atomizer is attached to the holding portion , the first electrical contact contacts a third electrical contact provided in the atomizer , and the second electrical contact contacts a fourth electrical contact provided in the atomizer , the power supply unit supplies the power to the heater via the first electrical contact and the second electrical contact , and information obtained using the detection circuit is affected by stress applied to the first electrical contact , the second electrical contact , the third electrical contact , and the fourth electrical contact when attaching the atomizer to the holding portion , characterized in that the processor is configured to detect attachment of the atomizer to the holding portion based on the smoothed signal, and to acquire, based on the smoothed signal, the resistance value of the heater at a given temperature as a reference resistance value of the heater after the smoothed signal converges in a predetermined range after the attachment of the atomizer to the holding portion is detected. <EOS>