Troubleshooting config: entity name mustn't start or end with _ (#32934)

This commit is contained in:
c0ffeeca7 2024-05-24 16:06:43 +02:00 committed by GitHub
parent 04b3b94656
commit 2e07ac78cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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