Correct entity translation example (#1560)

This commit is contained in:
Erik Montnemery 2022-12-01 10:17:54 +01:00 committed by GitHub
parent f1212b221d
commit 0f12f8f772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,7 @@ To differentiate entities and their translations, provide different translation
"entity": { "entity": {
"sensor": { "sensor": {
"phase": { "phase": {
"state": {
"new_moon": "New moon", "new_moon": "New moon",
"first_quarter": "First quarter", "first_quarter": "First quarter",
"full_moon": "Full moon", "full_moon": "Full moon",
@ -131,6 +132,7 @@ To differentiate entities and their translations, provide different translation
} }
} }
} }
}
``` ```
#### State of entity components #### State of entity components