In a temperature switch, a cut-out portion of the substrate is formed of a first cut-out portion and a second cut-out portion which are made from the side part toward the center. At a fixation part of a movable plate in the temperature switch, a pawl part and an elastic locking part having an L-shaped cross section are formed adjacent to the pawl part on the upstream side in the sliding direction. When the pawl part is fitted in the second cut-out portion, a tip of the elastic locking part abuts an end portion-top surface of the substrate and the elastic locking part reversibly warps upwardly.