code: def _parse_keypad(self, keypad_xml):
      
      keypad = Keypad(self._lutron,
                      name=keypad_xml.get('Name'),
                      integration_id=int(keypad_xml.get('IntegrationID')))
      components = keypad_xml.find('Components')
      if not components:
        return keypad
      for comp in components:
        if comp.tag != 'Component':
          continue
        comp_type = comp.get('ComponentType')
        if comp_type == 'BUTTON':
          button = self._parse_button(keypad, comp)
          keypad.add_button(button)
        elif comp_type == 'LED':
          led = self._parse_led(keypad, comp)
          keypad.add_led(led)
      return keypad
docs: Parses a keypad device (the Visor receiver is technically a keypad too).