Yes so not only are you capturing heat from the environment you are turning electricity into heat in the compressor, both are delivered as heat to the interior. This is an advantage compared to cooling where you must reject both the interior heat and the heat of compression.