A washing machine with a leveling device, said washing machine comprising a shell , a pressure sensor , and a control device , and said leveling device comprising at least two hydraulic supports , each hydraulic support comprising: a fix section for installation on a bottom of the household appliance, and a movable adjustment section, sleeved with the fix section and moving axially relative to the fix section; wherein an accommodate chamber for containing a hydraulic medium is arranged between the fix section and the movable adjustment section; wherein at least two hydraulic supports are communicated with each other by a communication device, such that depending on the pressure changing, the hydraulic medium flows between the hydraulic supports , and drives the movable adjustment section to move axially for leveling under the pressure; wherein a sensor connecting port for connecting a pressure sensor is arranged at the hydraulic supports and/or on the communication device, and the hydraulic medium is allowed to flow through the sensor connecting port; and wherein the leveling device is installed at the bottom of the shell , the pressure sensor connects with the sensor connecting port of the leveling device by a pressure pipe , and the pressure sensor electrically connects with the control device , characterized in that the washing machine with the leveling device is configured to perform control as follows: if the washing machine is empty, the control device obtaining a pressure information P1 detected by the pressure sensor ; if the washing machine is loaded with laundry, the control device obtaining a pressure information P2 detected by the pressure sensor ; and the control device of the washing machine calculating a weight of the laundry put into the washing machine based on a pressure difference P2-P1. a fix section for installation on a bottom of the household appliance, and a movable adjustment section, sleeved with the fix section and moving axially relative to the fix section; wherein an accommodate chamber for containing a hydraulic medium is arranged between the fix section and the movable adjustment section; wherein at least two hydraulic supports are communicated with each other by a communication device, such that depending on the pressure changing, the hydraulic medium flows between the hydraulic supports , and drives the movable adjustment section to move axially for leveling under the pressure; wherein a sensor connecting port for connecting a pressure sensor is arranged at the hydraulic supports and/or on the communication device, and the hydraulic medium is allowed to flow through the sensor connecting port; and wherein the leveling device is installed at the bottom of the shell , the pressure sensor connects with the sensor connecting port of the leveling device by a pressure pipe , and the pressure sensor electrically connects with the control device , the washing machine with the leveling device is configured to perform control as follows: if the washing machine is empty, the control device obtaining a pressure information P1 detected by the pressure sensor ; if the washing machine is loaded with laundry, the control device obtaining a pressure information P2 detected by the pressure sensor ; and the control device of the washing machine calculating a weight of the laundry put into the washing machine based on a pressure difference P2-P1. if the washing machine is empty, the control device obtaining a pressure information P1 detected by the pressure sensor ; if the washing machine is loaded with laundry, the control device obtaining a pressure information P2 detected by the pressure sensor ; and the control device of the washing machine calculating a weight of the laundry put into the washing machine based on a pressure difference P2-P1. <EOS>