docs: def _decode_sensor_data(properties):
          """Decode, decompress, and parse the data from the history API"""
          b64_input = ""
          for s in properties.get('payload'):
              # pylint: disable=consider-using-join
              b64_input += s
  
          decoded = base64.b64decode(b64_input)
          data = zlib.decompress(decoded)
          points = []
          i = 0
  
          while i < len(data):
              points.append({
                  'timestamp': int(1e3 * ArloBaseStation._parse_statistic(
                      data[i:(i + 4)], 0)),
                  'temperature': ArloBaseStation._parse_statistic(
                      data[(i + 8):(i + 10)], 1),
                  'humidity': ArloBaseStation._parse_statistic(
                      data[(i + 14):(i + 16)], 1),
                  'airQuality': ArloBaseStation._parse_statistic(
                      data[(i + 20):(i + 22)], 1)
              })
              i += 22
  
          return points