Patent attributes
A thermostat may include HVAC wire connectors that receive a call relay wire and a power return wire, switching elements having a first operating state in which they create a connection between the call relay wire and the power return wire and a second operating state in which the connection between the call relay wire and the power return wire is interrupted. The thermostat may also include control circuitry configured to cause the switching elements to operate in the first operating state to actuate an HVAC function; detect an anomaly associated with measurements from power monitoring circuitry; cause the switching elements to continue to operate in the first operating state until a zero-crossing is detected; and then cause the one or more switching elements to operate in the second operating state.