Method for the temperature control of an interior compartment of a motor vehicle having an electric drive by way of a heat pump arrangement having a heating temperature region and having a low-temperature region, wherein the heating temperature region comprises at least one interior compartment heat exchanger which is thermally coupled to the interior compartment, and the low-temperature region comprises an exterior heat exchanger and at least one heat exchanger (29, 34) which is arranged on a component (2, 12) of the electric drive of the vehicle, wherein the method has the following steps: - if components (2, 12) of the electric drive generate heat losses of a magnitude sufficient to generate the heating energy by way of the heat pump arrangement, dissipating the heat losses of at least one component of the electric drive by way of the low-temperature region of the heat pump arrangement, wherein the temperature of the low-temperature region lies, in steady-state or quasi-steady-state operation, in the region of the temperature of the surroundings of the motor vehicle, and the electric drive is operated in the region of an optimum operating point; and/or - if the components (2, 12) of the electric drive generate heat losses of a magnitude not sufficient to generate the heating energy by way of the heat pump arrangement, and if the exterior temperature is so high, and/or the air humidity so low, that there is no risk of function-impairing icing occurring in the region of the low-temperature region, dissipating the heat losses of at least one component of the electric drive by way of the low-temperature region of the heat pump arrangement, and extracting heat energy from the surroundings by way of the exterior heat exchanger, wherein the temperature of the low-temperature region lies, in steady-state or quasi-steady-state operation, below the temperature of the surroundings of the motor vehicle, and the electric drive is operated in the region of an optimum operating point; further having the following steps: - if the components (2, 12) of the electric drive generate, during operation at an optimum operating point, heat losses of a magnitude not sufficient to generate the heating energy by way of the heat pump arrangement, and if the exterior temperature is so low, and/or the air humidity so high, that there is the risk of function-impairing icing occurring in the region of the low-temperature region, actuating the electric drive outside the optimum operating point such that the at least one first electrical component (2, 12) of the electric drive generates, in steady-state or quasi-steady-state operation, heat losses such that the heat pump arrangement can generate the heating energy; and - dissipating the heat losses generated by the at least one electrical component (2, 12) by way of the low-temperature region of the heat pump arrangement. - if components (2, 12) of the electric drive generate heat losses of a magnitude sufficient to generate the heating energy by way of the heat pump arrangement, dissipating the heat losses of at least one component of the electric drive by way of the low-temperature region of the heat pump arrangement, wherein the temperature of the low-temperature region lies, in steady-state or quasi-steady-state operation, in the region of the temperature of the surroundings of the motor vehicle, and the electric drive is operated in the region of an optimum operating point; and/or - if the components (2, 12) of the electric drive generate heat losses of a magnitude not sufficient to generate the heating energy by way of the heat pump arrangement, and if the exterior temperature is so high, and/or the air humidity so low, that there is no risk of function-impairing icing occurring in the region of the low-temperature region, dissipating the heat losses of at least one component of the electric drive by way of the low-temperature region of the heat pump arrangement, and extracting heat energy from the surroundings by way of the exterior heat exchanger, wherein the temperature of the low-temperature region lies, in steady-state or quasi-steady-state operation, below the temperature of the surroundings of the motor vehicle, and the electric drive is operated in the region of an optimum operating point; - if the components (2, 12) of the electric drive generate, during operation at an optimum operating point, heat losses of a magnitude not sufficient to generate the heating energy by way of the heat pump arrangement, and if the exterior temperature is so low, and/or the air humidity so high, that there is the risk of function-impairing icing occurring in the region of the low-temperature region, actuating the electric drive outside the optimum operating point such that the at least one first electrical component (2, 12) of the electric drive generates, in steady-state or quasi-steady-state operation, heat losses such that the heat pump arrangement can generate the heating energy; and - dissipating the heat losses generated by the at least one electrical component (2, 12) by way of the low-temperature region of the heat pump arrangement.