code: def parse(self):
          ''' Parse data from Packet '''
          # Parse status from messages
          if self.rorg in [RORG.RPS, RORG.BS1, RORG.BS4]:
              self.status = self.data[-1]
          if self.rorg == RORG.VLD:
              self.status = self.optional[-1]
  
          if self.rorg in [RORG.RPS, RORG.BS1, RORG.BS4]:
              # These message types should have repeater count in the last for bits of status.
              self.repeater_count = enocean.utils.from_bitarray(self._bit_status[4:])
          return self.parsef parse(self):
          ''' Parse data from Packet '''
          # Parse status from messages
          if self.rorg in [RORG.RPS, RORG.BS1, RORG.BS4]:
              self.status = self.data[-1]
          if self.rorg == RORG.VLD:
              self.status = self.optional[-1]
  
          if self.rorg in [RORG.RPS, RORG.BS1, RORG.BS4]:
              # These message types should have repeater count in the last for bits of status.
              self.repeater_count = enocean.utils.from_bitarray(self._bit_status[4:])
          return self.parsed
docs: Parse data from Packet