an electrical device connected to two wires