Update ESPHome entity ID description (#28755)

This commit is contained in:
Jesse Hills 2023-11-24 22:19:00 +13:00 committed by GitHub
parent 415db21b20
commit a56b520549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,8 +57,7 @@ ESPHome uses different naming and entity ID rules based on the configuration of
### Friendly naming ### Friendly naming
- Entity name is a combination of the friendly name and component name - Entity name is a combination of the friendly name and component name
- Device name is prepended to the entity ID - Entity ID is derived from the entity name with the device name prepended
- Entity ID uses the ESPHome ID
Example: Example:
@ -69,7 +68,6 @@ esphome:
sensor: sensor:
name: "Temperature" name: "Temperature"
id: "temperature"
``` ```
The entity will be named `Living room desk Temperature` and will default to having an entity ID of `sensor.livingroomdesk_temperature`. The entity will be named `Living room desk Temperature` and will default to having an entity ID of `sensor.livingroomdesk_temperature`.
@ -88,7 +86,6 @@ esphome:
sensor: sensor:
name: "Temperature" name: "Temperature"
id: "temperature"
``` ```
The entity will be named `Temperature` and will default to having an entity_id of `sensor.temperature`. The entity will be named `Temperature` and will default to having an entity_id of `sensor.temperature`.