[(#{basic_information})]

[(#{name})]
{{ deviceProfile.profile.name }}
[(#{description})]
{{ deviceProfile.profile.desc }}
[(#{priority})]
{{ deviceProfile.priority }}
[(#{is_global})]
{{ deviceProfile.isGlobal }}
{{ deviceProfile.isGlobal ? '[(#{global_profile_desc})]' : '[(#{general_profile_desc})]'}}
[(#{created_by})]
{{ writer(deviceProfile.writer) }}
[(#{created_date})]
{{ deviceProfile.created | date : 'medium'}}
[(#{updated_date})]
{{ deviceProfile.updated | date : 'medium' }}
[(#{name})]
[(#{description})]
[(#{priority})]
 
 
[(#{cancel})]

[(#{update_plan})]

[(#{apply_first})]
{{ applyOrderItems[deviceProfile.profile.applyOrder] }}
[(#{wake_to_apply})]
{{ deviceProfile.profile.wakeToApply == 'true' || deviceProfile.profile.wakeToApply == true ? '[(#{wake_up})]' : '[(#{do_nothing})]' }}
[(#{update_via})]
{{updateViaOptions[deviceProfile.profile.updateVia]}}
[(#{apply_while})]
{{getApplyWhileOption()}}
[(#{starts_on})]
{{deviceProfile.profile.startsOn | date }}
[(#{ends})]
{{endsOptions['never']}} {{deviceProfile.profile.ends | date}}
[(#{repeat})]
{{repeatOptions[deviceProfile.profile.repeatOption]}} {{deviceProfile.profile.repeatEvery}} {{repeatPeriods[deviceProfile.profile.repeatPeriod]}} {{getOnWeekOptions(deviceProfile.profile.weekOptions)}} {{getOnMonthOptions(deviceProfile.profile.monthOptions)}}
[(#{applicable_time})]
{{timeOptions['allDay']}}
[(#{from_time})] [(#{to_time})]
{{deviceProfile.profile.applicableTimes[$index].time}} {{deviceProfile.profile.applicableTimes[$index+1].time}}
[(#{apply_first})]
[(#{wake_to_apply})]
[(#{update_via})]
[(#{apply_while})]
[(#{starts_on})]
[(#{ends})]
[(#{repeat})]
[(#{days_on})]
[(#{applicable_time})]
[(#{from_time})] [(#{to_time})]
{{applicableTimeArray[$index].time}} {{applicableTimeArray[$index+1].time}}
[(#{cancel})]