mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Improve string formatting v5 (#33697)
* Improve string formatting v5 * Address review comments
This commit is contained in:
@ -79,7 +79,7 @@ def validate_services(integration: Integration):
|
||||
SERVICES_SCHEMA(data)
|
||||
except vol.Invalid as err:
|
||||
integration.add_error(
|
||||
"services", "Invalid services.yaml: {}".format(humanize_error(data, err))
|
||||
"services", f"Invalid services.yaml: {humanize_error(data, err)}"
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user