Dashboard: The unique identifier should include a random part, as with scenes

For scenes, the unique identifier generated for the URL contains a random part to avoid collisions:

This should also be the case for dashboards