/span><span class="n">name</span> <span class="o">=</span> <span class="n">name</span>
    <span class="n">signal_spec</span><span class="o">.</span><span class="n">sensor</span><span class="o">.</span><span class="n">units</span><span class="o">.</span><span class="n">name</span> <span class="o">=</span> <span class="n">units</span>
    <span class="k">if</span> <span class="n">max_warning</span><span class="p">:</span>
        <span class="n">alert_spec_1</span> <span class="o">=</span> <span class="n">bu