Fix can not typo (#87254)

This commit is contained in:
epenet 2023-02-03 11:37:16 +01:00 committed by GitHub
parent b8a1f87073
commit 810367b757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 35 additions and 35 deletions

View file

@ -87,7 +87,7 @@ def struct_validator(config: dict[str, Any]) -> dict[str, Any]:
raise vol.Invalid(error)
if not structure:
error = (
f"Error in sensor {name}. The `{CONF_STRUCTURE}` field can not be empty"
f"Error in sensor {name}. The `{CONF_STRUCTURE}` field cannot be empty"
)
raise vol.Invalid(error)
try: