A system comprising an enclosure and a switching device , the switching device comprising: a cover including: a hollow content area housing a plurality of connectors ; and one or more openings designed to allow a plurality of conductors passage into the hollow content area where the plurality of conductors are connected to the plurality of connectors, wherein the cover is mounted on the exterior side of the enclosure ; one or more reflective agents mounted on the cover such that changing a physical location of the cover or a part of the cover changes a location of the one or more reflective agents; a sensor configured to sense the one or more reflective agents and output an electrical signal depending on a location of the one or more sensed reflective agents mounted on the cover, wherein the sensor is positioned outside of the hollow content area of the cover, in the interior side of the enclosure , in proximity to the inner surface of the enclosure and the cover ; and a controller configured to change a state of an electronic device enclosed by the enclosure according to the output electrical signal of the sensor, wherein the sensor includes a transmitting part and a receiving part, wherein the transmitting part comprises a magnet configured to induce a magnetic field towards the enclosure , and wherein the receiving part comprises an inductor carrying an induced current of a magnitude dependent on a magnetic force; and wherein the one or more reflective agents are magnetized agents configured to create a magnetic force and induce an inductor current in the inductor. a cover including: a hollow content area housing a plurality of connectors ; and one or more openings designed to allow a plurality of conductors passage into the hollow content area where the plurality of conductors are connected to the plurality of connectors, wherein the cover is mounted on the exterior side of the enclosure ; a hollow content area housing a plurality of connectors ; and one or more openings designed to allow a plurality of conductors passage into the hollow content area where the plurality of conductors are connected to the plurality of connectors, wherein the cover is mounted on the exterior side of the enclosure ; one or more reflective agents mounted on the cover such that changing a physical location of the cover or a part of the cover changes a location of the one or more reflective agents; a sensor configured to sense the one or more reflective agents and output an electrical signal depending on a location of the one or more sensed reflective agents mounted on the cover, wherein the sensor is positioned outside of the hollow content area of the cover, in the interior side of the enclosure , in proximity to the inner surface of the enclosure and the cover ; and a controller configured to change a state of an electronic device enclosed by the enclosure according to the output electrical signal of the sensor, wherein the sensor includes a transmitting part and a receiving part, wherein the transmitting part comprises a magnet configured to induce a magnetic field towards the enclosure , and wherein the receiving part comprises an inductor carrying an induced current of a magnitude dependent on a magnetic force; and wherein the one or more reflective agents are magnetized agents configured to create a magnetic force and induce an inductor current in the inductor. <EOS>