From 34e361406e7e20d7f8fbf8e297fed8f28975face Mon Sep 17 00:00:00 2001 From: c0ffeeca7 Date: Fri, 24 May 2024 16:02:00 +0200 Subject: [PATCH] Troubleshooting config: entity name must not start or end with underscore --- source/_docs/configuration/troubleshooting.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/configuration/troubleshooting.markdown b/source/_docs/configuration/troubleshooting.markdown index 1300600cc062..f41064e550d2 100644 --- a/source/_docs/configuration/troubleshooting.markdown +++ b/source/_docs/configuration/troubleshooting.markdown @@ -96,7 +96,7 @@ The only characters valid in entity names are: - Numbers - Underscores -If you create an entity with other characters then Home Assistant may not generate an error for that entity. However you will find that attempts to use that entity will generate errors (or possibly fail silently). +The entity name must not start or end with an underscore. If you create an entity with other characters from the UI, Home Assistant validates the name. If you change the name directly in the YAML file, then Home Assistant may not generate an error for that entity. However, attempts to use that entity will generate errors (or possibly fail silently). ## Debug logs and diagnostics