You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_integrations/esphome.markdown
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,7 @@ The [Native API Component](https://esphome.io/components/api.html) also supports
152
152
153
153
- Entity name is a combination of the friendly name (or name if unset) and component name
154
154
- Entity ID is derived from the entity name with the device name prepended
155
+
- Unicode characters in names are transliterated to their closest ASCII equivalents for compatibility
155
156
156
157
Example with `friendly_name` set:
157
158
@@ -178,6 +179,19 @@ sensor:
178
179
179
180
The entity will be named `livingroomdesk Temperature` and will default to having an entity ID of `sensor.livingroomdesk_temperature`.
180
181
182
+
Example with Unicode characters:
183
+
184
+
```yaml
185
+
esphome:
186
+
name: "haloszoba-klima"
187
+
friendly_name: "Hálószoba klíma"
188
+
189
+
sensor:
190
+
name: "Árvíztűrő tükörfúrógép"
191
+
```
192
+
193
+
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.
0 commit comments