I have a table that contains entries like this:

I would like to transfor it to something like this:

Can't find how to do so with a group by only. Am I missing anything?
Thanks in advance for your help
SELECT Entity,
MAX(CASE WHEN Type=Auto THEN Value ELSE NULL END) AS ValueAuto,
MAX(CASE WHEN Type=Manual THEN Value ELSE NULL END) AS ValueMaual
FROM tableName
GROUP BY Entity