code: def _get_status_from_xml_tags(self, root, relevant_tags):
          
          for child in root:
              if child.tag not in relevant_tags.keys():
                  continue
              elif child.tag == "Power":
                  self._power = child[0].text
                  relevant_tags.pop(child.tag, None)
              elif child.tag == "InputFuncSelect":
                  inputfunc = child[0].text
                  if inputfunc is not None:
                      try:
                          self._input_func = self._input_func_list_rev[inputfunc]
                      except KeyError:
                          _LOGGER.info(
                              "No mapping for source %s found", inputfunc)
                          self._input_func = inputfunc
                      finally:
                          relevant_tags.pop(child.tag, None)
              elif child.tag == "MasterVolume":
                  self._volume = child[0].text
                  relevant_tags.pop(child.tag, None)
              elif child.tag == "Mute":
                  self._mute = child[0].text
                  relevant_tags.pop(child.tag, None)
              elif child.tag == "FriendlyName" and self._name is None:
                  self._name = child[0].text
                  relevant_tags.pop(child.tag, None)
              elif child.tag == "selectSurround" or child.tag == "SurrMode":
                  self._sound_mode_raw = child[0].text.rstrip()
                  relevant_tags.pop("selectSurround", None)
                  relevant_tags.pop("SurrMode", None)
  
          return relevant_tags
docs: Get relevant status tags from XML structure with this internal method.
  
          Status is saved to internal attributes.
          Return dictionary of tags not found in XML.