Add state translations for Script entities (#90354)
parent
d59e2b1349
commit
a405112142
|
@ -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%]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue