platypush/plugins/gpio/zeroborg/lib/__init__.py
def SetLedIr(self, state):
        """
SetLedIr(state)

Sets if IR messages control the state of the LED, False for no effect, True for incoming messages blink the LED
        """
        if state:
            level = COMMAND_VALUE_ON
        else:
            level = COMMAND_VALUE_OFF

        # noinspection PyBroadException
        try:
            self.RawWrite(COMMAND_SET_LED_IR, [level])
        except KeyboardInterrupt:
            raise
        except Exception as e:
            self.Print('Failed sending LED state! {}'.format(str(e)))

SetLedIr(state)

Sets if IR messages control the state of the LED, False for no effect, True for incoming messages blink the LED
        
SetLedIr(state)
Sets if IR messages control the state of the LED, False for no effect, True for incoming messages blink the LED
SetLedIr ( state ) Sets if IR messages control the state of the LED False for no effect True for incoming messages blink the LED
def SetLedIr(self, state):
        if state:
            level = COMMAND_VALUE_ON
        else:
            level = COMMAND_VALUE_OFF
        try:
            self.RawWrite(COMMAND_SET_LED_IR, [level])
        except KeyboardInterrupt:
            raise
        except Exception as e:
            self.Print('Failed sending LED state! {}'.format(str(e)))
def SetLedIr ( self , state ) : if state : level = COMMAND_VALUE_ON else : level = COMMAND_VALUE_OFF try : self . RawWrite ( COMMAND_SET_LED_IR , [ level ] ) except KeyboardInterrupt : raise except Exception as e : self . Print ( 'Failed sending LED state! {}' . format ( str ( e ) ) )
SetLedIr(state)
Sets if IR messages control the state of the LED, False for no effect, True for incoming messages blink the LED
SetLedIr ( state ) Sets if IR messages control the state of the LED False for no effect True for incoming messages blink the LED
"""
SetLedIr(state)

Sets if IR messages control the state of the LED, False for no effect, True for incoming messages blink the LED
        """ # noinspection PyBroadException
self
state