{{_('Define the setpoint over a period of time based on specific times/dates.')}}
{{_("The new entry's start time may be equal to the last entry's end time, but it cannot overlap. The default setpoint for the PID will be used if there is any unaccounted time.")}}
{{form_add_method.time_start.label(class_='control-label')}}
{{form_add_method.time_start(class_='form-control', value=last_end_time)}}
{{form_add_method.time_end.label(class_='control-label')}}
{{form_add_method.time_end(class_='form-control')}}
{{form_add_method.setpoint_start.label(class_='control-label')}}
{{form_add_method.setpoint_start(class_='form-control', value=last_setpoint)}}
{{form_add_method.setpoint_end.label(class_='control-label')}}
{{form_add_method.setpoint_end(class_='form-control')}}
{{_('Output')}}
{{_('Activate or deactivate a relay within this method at a specific time/date.')}}
{{form_add_method.relay_time.label(class_='control-label')}}
{{form_add_method.relay_time(class_='form-control')}}
{{form_add_method.relay_id.label(class_='control-label')}}
{% for each_output in output -%}
[{{each_output.id}}] {{each_output.name}}
{% endfor -%}
{{form_add_method.relay_state.label(class_='control-label')}}
{{form_add_method.relay_state(class_='form-control')}}
{{form_add_method.relay_duration.label(class_='control-label')}}
{{form_add_method.relay_duration(class_='form-control')}}