docs: def get_quality(self, type='etx'):
          """ used to determine color of links"""
          if type == 'etx':
              if 0 < self.etx < 1.5:
                 quality = 1
              elif self.etx < 3:
                 quality = 2
              else:
                  quality = 3
          elif type == 'dbm':
              if -83 < self.dbm < 0:
                  quality = 1
              elif self.dbm > -88:
                  quality = 2
              else:
                  quality = 3
          return quality