mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
Merge branch 'next' of github.com:home-assistant/home-assistant.io into next
This commit is contained in:
commit
479cd16f95
@ -152,6 +152,7 @@ The [Native API Component](https://esphome.io/components/api.html) also supports
|
|||||||
|
|
||||||
- Entity name is a combination of the friendly name (or name if unset) and component name
|
- Entity name is a combination of the friendly name (or name if unset) and component name
|
||||||
- Entity ID is derived from the entity name with the device name prepended
|
- Entity ID is derived from the entity name with the device name prepended
|
||||||
|
- Unicode characters in names are transliterated to their closest ASCII equivalents for compatibility
|
||||||
|
|
||||||
Example with `friendly_name` set:
|
Example with `friendly_name` set:
|
||||||
|
|
||||||
@ -178,6 +179,19 @@ sensor:
|
|||||||
|
|
||||||
The entity will be named `livingroomdesk Temperature` and will default to having an entity ID of `sensor.livingroomdesk_temperature`.
|
The entity will be named `livingroomdesk Temperature` and will default to having an entity ID of `sensor.livingroomdesk_temperature`.
|
||||||
|
|
||||||
|
Example with Unicode characters:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
esphome:
|
||||||
|
name: "haloszoba-klima"
|
||||||
|
friendly_name: "Hálószoba klíma"
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
name: "Árvíztűrő tükörfúrógép"
|
||||||
|
```
|
||||||
|
|
||||||
|
The entity will be named `Hálószoba klíma Árvíztűrő tükörfúrógép` and will default to having an entity ID of `sensor.haloszoba_klima_arvizturo_tukorfurogep`. Note how the Unicode characters are transliterated rather than replaced with underscores.
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
### Viewing live logs
|
### Viewing live logs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user