Customizing entities: list allowed characters for entity name (#32933)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
c0ffeeca7 2024-05-26 12:59:47 +02:00 committed by GitHub
parent 66397d2929
commit 84814d621c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@ related:
- docs: /integrations/homeassistant/
- docs: /docs/configuration/
title: configuration.yaml file
- docs: /docs/configuration/troubleshooting/
---
## Changing entity name and entity ID
@ -19,8 +20,10 @@ To change the entity ID and friendly name of supported entities, follow these st
![Entity dialog box with cog icon.](/images/docs/configuration/customizing-entity-dialog.png)
3. Enter the new name or the new entity ID.
- For example, the entity ID here could be `light.bedroom_ligthstrip`.
- Do not change the domain of the entity - the part before the `.`.
- For example, the entity ID here could be `light.bedroom_lightstrip_3`.
- Do not change the domain of the entity - the part before the `.` (period).
- You can use lowercase letters, numbers, and underscores.
- The name must not start or end with an underscore.
![Settings for entity.](/images/docs/configuration/customizing-entity.png)