Add state attribute translations for Sensor (#89896)

This commit is contained in:
Franck Nijhof
2023-03-18 01:32:52 +01:00
committed by GitHub
parent 30e7ab247d
commit cd3819abec

View File

@@ -100,6 +100,22 @@
"state": { "state": {
"off": "[%key:common::state::off%]", "off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]" "on": "[%key:common::state::on%]"
},
"state_attributes": {
"last_reset": {
"name": "Last reset"
},
"options": {
"name": "Possible states"
},
"state_class": {
"name": "State class",
"state": {
"measurement": "Measurement",
"total": "Total",
"total_increasing": "Total increasing"
}
}
} }
}, },
"date": { "date": {