If you want to change something of this entity in the ui it’s only possible if it has a unique ID (for example the icon or the area).
For automations and things like this it makes no difference as far as i know.
Here is another explanation which makes it clearer.
In case you haven’t set the unique_id the entity_id will be the “unique sign” of your entity, right. But once a “unique sign” for an entity is set, it cannot be changed. That’s why you cannon change the entity_id in the frontend (which is sometimes really good usable), you have to change it in your yaml config files.
Because of this I think the newer template and mqtt platforms can use a unique_id (older platforms as sensor or binary_sensor don’t have it), it’s up to you to use it if you want to change something later in your entity in the frontend/ui.
In Germany we would say it can’t hurt to use it