Laundry-treating machine comprising: - a casing, - a drum mounted inside said casing and designed to receive laundry, - a porthole door to give access to the drum, - a main power line designed to have a main prefixed supply voltage, - a door power line, - a door-lock switching device, which is configured to be switched to and from, between a close state and open state to respectively connect and disconnect said door power line to said main power line, - one or more first electronic/electric loads (14,15) connected to said main power line, upstream of said door-lock switching device, - one or more second electronic/electric loads (20, 23) connected to said door power line downstream of said door-lock switching device, - one or more electronic sensing circuits (14b, 15b, 27, 32), which are connected to said main power line upstream of said door-lock switching device and are configured to detect one or more parameters indicative of the operating of said first electronic/electric loads (14, 15) and/or of said second electronic/electric loads (20, 23), said laundry-treating machine being designed to switch from an active state associated to an active energy consumption to a standby state associated to a minimal energy consumption lower than said active energy consumption, in which said door-lock switching device is in the open state, said laundry-treating machine being characterized by comprising: - a first switch, which connects said first electronic/electric loads (14, 15) and said sensing circuits (14b, 15b, 27, 32) to said main power line upstream said door-lock switching device, and - electronic control means configured to switch said first switch from a close state to the open state to electrically disconnect said first electronic/electric loads and said sensing circuits (14b, 15b, 27, 32) from said main power line when said laundry-treating machine is in said standby state. - a casing, - a drum mounted inside said casing and designed to receive laundry, - a porthole door to give access to the drum, - a main power line designed to have a main prefixed supply voltage, - a door power line, - a door-lock switching device, which is configured to be switched to and from, between a close state and open state to respectively connect and disconnect said door power line to said main power line, - one or more first electronic/electric loads (14,15) connected to said main power line, upstream of said door-lock switching device, - one or more second electronic/electric loads (20, 23) connected to said door power line downstream of said door-lock switching device, - one or more electronic sensing circuits (14b, 15b, 27, 32), which are connected to said main power line upstream of said door-lock switching device and are configured to detect one or more parameters indicative of the operating of said first electronic/electric loads (14, 15) and/or of said second electronic/electric loads (20, 23), said laundry-treating machine being designed to switch from an active state associated to an active energy consumption to a standby state associated to a minimal energy consumption lower than said active energy consumption, in which said door-lock switching device is in the open state, said laundry-treating machine being characterized by comprising: - a first switch, which connects said first electronic/electric loads (14, 15) and said sensing circuits (14b, 15b, 27, 32) to said main power line upstream said door-lock switching device, and - electronic control means configured to switch said first switch from a close state to the open state to electrically disconnect said first electronic/electric loads and said sensing circuits (14b, 15b, 27, 32) from said main power line when said laundry-treating machine is in said standby state. - a first switch, which connects said first electronic/electric loads (14, 15) and said sensing circuits (14b, 15b, 27, 32) to said main power line upstream said door-lock switching device, and - electronic control means configured to switch said first switch from a close state to the open state to electrically disconnect said first electronic/electric loads and said sensing circuits (14b, 15b, 27, 32) from said main power line when said laundry-treating machine is in said standby state.