Thanks LeCuvier, that fixed it! One more question if you don't mind. Some switches seem to need cycling a couple of times before they register in the game. Is that normal?
Anti-skid seems to do that, but it's set up differently to the launch bar switch:
{down = gear_commands.AntiSkidSw_EXT, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 0.0, name = _('Anti Skid Switch - ON/OFF'), category = {_('Left Vertical Panel')}},
{down = gear_commands.AntiSkidSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 1.0, name = _('Anti Skid Switch - ON'), category = {_('Left Vertical Panel')}},
{down = gear_commands.AntiSkidSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 0.0, name = _('Anti Skid Switch - OFF'), category = {_('Left Vertical Panel')}},