Add state translations for Script entities (#90354)

pull/90363/head
Franck Nijhof 2023-03-27 19:59:57 +02:00 committed by GitHub
parent d59e2b1349
commit a405112142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

View File

@ -6,6 +6,29 @@
"state": {
"off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]"
},
"state_attributes": {
"current": {
"name": "[%key:component::automation::entity_component::_::state_attributes::current::name%]"
},
"last_action": {
"name": "Last action"
},
"last_triggered": {
"name": "[%key:component::automation::entity_component::_::state_attributes::last_triggered::name%]"
},
"max": {
"name": "Max running scripts"
},
"mode": {
"name": "[%key:component::automation::entity_component::_::state_attributes::mode::name%]",
"state": {
"parallel": "[%key:component::automation::entity_component::_::state_attributes::mode::state::parallel%]",
"queued": "[%key:component::automation::entity_component::_::state_attributes::mode::state::queued%]",
"restart": "[%key:component::automation::entity_component::_::state_attributes::mode::state::restart%]",
"single": "[%key:component::automation::entity_component::_::state_attributes::mode::state::single%]"
}
}
}
}
}