mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Improve performance of generating non-cryptographically secure uuids (#41314)
This commit is contained in:
@@ -139,7 +139,7 @@ class ConfigEntry:
|
||||
) -> None:
|
||||
"""Initialize a config entry."""
|
||||
# Unique id of the config entry
|
||||
self.entry_id = entry_id or uuid_util.uuid_v1mc_hex()
|
||||
self.entry_id = entry_id or uuid_util.random_uuid_hex()
|
||||
|
||||
# Version of the configuration.
|
||||
self.version = version
|
||||
|
||||
Reference in New Issue
Block a user