mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Update ESPHome entity ID description (#28755)
This commit is contained in:
parent
415db21b20
commit
a56b520549
@ -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`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user