${this._error?o`
${this._error}
`:h}
${this._objectChoices.length>0?o`
`:h}
this._name=i.target.value}
>
${this._type==="reading"?o`
this._readingUnit=i.target.value}
>
${r("reading_unit_help",e)}
`:h}
${this._partsLoadFailed?o`
${r("parts_load_failed",e)}
`:h}
${this.parts.length||this._foreignOwners.length?o`
${this.parts.map(i=>this._renderConsumesRow(i))}
${this._foreignOwners.length?o`
${r("shared_parts_other_objects",e)}
${r("shared_parts_help",e)}
${this._foreignOwners.map(i=>o`
${i.name}
${i.parts.map(n=>this._renderConsumesRow(n,i.entry_id))}
`)}
`:h}
`:h}
${this._scheduleType==="time_based"?o`
this._intervalDays=i.target.value}
>
${this._renderUnitSelect()}
${this.scheduleTimeEnabled?o`
this._scheduleTime=i.target.value}
>
`:h}
`:h}
${this._renderCalendarFields()}
${this._scheduleType==="one_time"?o`
this._dueDate=i.target.value}
>
`:h}
${this._renderRecurrenceExtras()}
${this._renderSchedulePreview()}
this._warningDays=i.target.value}
>
this._earliestCompletionDays=i.target.value}
>
${this.checklistsEnabled?o`
${r("checklist_steps_optional",e)}
${r("checklist_help",e)}
`:h}
${r("require_on_completion",e)}
${Xt.map(i=>o`
`)}
this._lastPerformed=i.target.value}
>
${this._availableUsers.length>=2?o`
${this._assigneePool.length>=2?o`
`:h}
`:h}
${this._renderTriggerFields()}
${this._scheduleType==="sensor_based"?o`
this._environmentalEntity=i.target.value.trim()}
>
${this._environmentalEntity?o`
this._environmentalAttribute=i.target.value.trim()}
>
`:h}
`:h}
this._notes=i.target.value}
>
this._documentationUrl=i.target.value}
>
this._customIcon=i.detail.value||""}
>
${this._availableTags.length>0?o`
`:o`
this._nfcTagId=i.target.value}
>
`}
${this._renderCompletionActionsSection(e)}