${this._error?r`
${this._error}
`:c}
${this._objectChoices.length>0?r`
`:c}
this._name=i.target.value}
>
${this._type==="reading"?r`
this._readingUnit=i.target.value}
>
${s("reading_unit_help",t)}
`:c}
${this._scheduleType==="time_based"?r`
this._intervalDays=i.target.value}
>
${this._renderUnitSelect()}
${this.scheduleTimeEnabled?r`
this._scheduleTime=i.target.value}
>
`:c}
`:c}
${this._renderCalendarFields()}
${this._scheduleType==="one_time"?r`
this._dueDate=i.target.value}
>
`:c}
this._warningDays=i.target.value}
>
this._earliestCompletionDays=i.target.value}
>
${this.checklistsEnabled?r`
${s("checklist_steps_optional",t)}
${s("checklist_help",t)}
`:c}
this._lastPerformed=i.target.value}
>
${this._availableUsers.length>=2?r`
${this._assigneePool.length>=2?r`
`:c}
`:c}
${this._renderTriggerFields()}
${this._scheduleType==="sensor_based"?r`
this._environmentalEntity=i.target.value.trim()}
>
${this._environmentalEntity?r`
this._environmentalAttribute=i.target.value.trim()}
>
`:c}
`:c}
this._notes=i.target.value}
>
this._documentationUrl=i.target.value}
>
this._customIcon=i.detail.value||""}
>
${this._availableTags.length>0?r`
`:r`
this._nfcTagId=i.target.value}
>
`}
${this._renderCompletionActionsSection(t)}