[{{_('Condition')}}] {{_('GPIO State')}}: self.condition("{{each_condition.unique_id.split('-')[0]}}") {{_('returns True if the GPIO pin is HIGH and False if the GPIO pin is LOW. Do not use this for getting the state of an On/Off GPIO Output (if you do, it will change the GPIO Pin from OUTPUT to INPUT and stop it from working as an Output). Use the Output State Conditional to get the state of the Output.')}}
{{form_conditional_conditions.gpio_pin.label(class_='control-label')}}
{{form_conditional_conditions.gpio_pin(class_='form-control', value=each_condition.gpio_pin, **{'title':_('Set a GPIO pin to get the state of')})}}