The long-term operation of power equipment and power electronics can cause local overheating and discharges in the insulation material, resulting in irreversible insulation damage. Further development of such damage can eventually lead to equipment failure, but this problem is very difficult to solve. In this paper, inspired by how the petals of morning glory change color with the environment due to the presence of pigmented globules, a dual-function heat alert in the form of a self-healing (HASH) microcapsule with a nested structure is prepared by using microfluidic technology. By combination of the microcapsule with the insulation material, the local overheating in equipment can be detected promptly under live operating conditions without manual external intervention, and the defects that occur can be repaired autonomously. These HASH microcapsules can be pre-embedded in places at which the material is prone to overheating using artificial magnetic targeting. The doping of the matrix material with microcapsules does not cause any deterioration in its electrical or mechanical properties. This technology is expected to be applied to electrical equipment and electronic devices to allow for the early detection of local overheating and the autonomous repair of defects, thereby ensuring the safety of the equipment and improving its service life.