@if (command.icon) { {{ command.icon }} }

{{ getCommandTitle() }}

@if (getTargetDescription(); as target) { devices {{ target }} }
@if (getConfirmMessage(); as confirmMsg) {
warning_amber

{{ confirmMsg }}

} @if (command.params && command.params.length > 0) {
@for (param of command.params; track param.key) {
@switch (param.type) { @case ('text') { {{ getParamLabel(param) }} @if (param.required) { Campo obligatorio } } @case ('number') { {{ getParamLabel(param) }} @if (param.required) { Campo obligatorio } } @case ('select') { {{ getParamLabel(param) }} @for (opt of param.options; track opt) { {{ opt }} } } @case ('checkbox') {
{{ getParamLabel(param) }}
} }
}
}