Add state attribute translations for automations (#89815)

This commit is contained in:
Franck Nijhof 2023-03-17 04:02:11 +01:00 committed by GitHub
parent a2b6ef3d7b
commit a153720599
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,29 @@
"state": {
"off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]"
},
"state_attributes": {
"current": {
"name": "Running automations"
},
"id": {
"name": "ID"
},
"last_triggered": {
"name": "Last triggered"
},
"max": {
"name": "Max running automations"
},
"mode": {
"name": "Run mode",
"state": {
"parallel": "Parallel",
"queued": "Queued",
"restart": "Restart",
"single": "Single"
}
}
}
}
},