The electric device (1, 100) has a body (2, 102) having a resistor (7,
107) comprising a phase change material being changeable between a first
phase and a second phase. The resistor (7, 107) has a first electrical
resistance when the phase change material is in the first phase and a
second electrical resistance, different from the first electrical
resistance, when the phase change material is in the second phase. The
body (2, 102) further has a heating element (6, 106) being able to
conduct a current for enabling a transition from the first phase to the
second phase. The heating element (6, 106) is arranged in parallel with
the resistor (7, 107).