Add state attribute translations for Sensor (#89896)

pull/81325/head
Franck Nijhof 2023-03-18 01:32:52 +01:00 committed by GitHub
parent 30e7ab247d
commit cd3819abec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -100,6 +100,22 @@
"state": {
"off": "[%key:common::state::off%]",
"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": {