mirror of
https://github.com/home-assistant/core.git
synced 2025-08-11 08:35:15 +02:00
Render the secret (#18793)
This commit is contained in:
committed by
Paulus Schoutsen
parent
0ca67bf6f7
commit
fa9a200e3c
@@ -40,8 +40,8 @@ class OwnTracksFlow(config_entries.ConfigFlow):
|
||||
|
||||
if supports_encryption():
|
||||
secret_desc = (
|
||||
"The encryption key is {secret} "
|
||||
"(on Android under preferences -> advanced)")
|
||||
"The encryption key is {} "
|
||||
"(on Android under preferences -> advanced)".format(secret))
|
||||
else:
|
||||
secret_desc = (
|
||||
"Encryption is not supported because libsodium is not "
|
||||
|
Reference in New Issue
Block a user